Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanday committed Nov 1, 2018
2 parents 4973319 + 0f4a17f commit 39cab4e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ Struct, `Rational` to represent a rational number with a numerator and denominat

## Features

RationalNumeric represents type that have a numerator and a denominator, supports basic math operations by implementing the
protocol `SignedNumeric` through the protocol RationalNumeric. Its usefully when you need to deall with ratio without loss of precission.
RationalNumeric represents types that have a numerator and a denominator and support basic math operations by
implementing the protocol `SignedNumeric` through the protocol RationalNumeric. Its usefully when you need to deal
with ratios without loss of precission.

The sole type of RationalNumeric is Rational, Rational will be reduce to their simplest form, as a consequence the initialiser
of the form `Rational(Int,Int) can potentially be slow finding the largest common division for the numerator and denominator. Requires Swift 4.2.
The sole type of RationalNumeric is Rational, Rational will always be reduce to its simplest form, as a consequence
the initialiser of the form `Rational(Int,Int) can potentially be slow finding the largest common division for
the numerator and denominator. Requires Swift 4.2.

## Including in your project

Expand Down

0 comments on commit 39cab4e

Please sign in to comment.