Swiftpack.co - abdel-17/rational-math as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by abdel-17.
abdel-17/rational-math 1.0.0
Rational numbers in Swift.
⭐️ 1
🕓 2 days ago
.package(url: "https://github.com/abdel-17/rational-math.git", from: "1.0.0")

Rational Math

This package provides RationalModule for performing rational arithmetic.

Using Rational Math in your project

  1. Add the following line to the dependencies in your Package.swift file:
.package(url: "https://github.com/abdel-17/rational-math", from: "1.0.0"),
  1. Add RationalModule as a dependency for your target:
    name: "MyTarget",
    dependencies: [
        .product(name: "RationalModule",
                 package: "rational-math"),
  1. Add import RationalModule to your source code.


Stars: 1
Last commit: 20 hours ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

First version of this package!
2 days ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics