Swift Rational - Swift package for working with rational numbers

I quite like this, but why not use a seperate sign bit, and unsigned numerator and denominator to extend their ranges?

1 Like