floating_bar
floating_bar copied to clipboard
Rational number representation using "floating-bar" numbers
`floating_bar` should decide on a default way to handle overflow for `ops::Add` and `ops::Mul`, and also include methods for different overflow-handling strategies so the user can decide which one is...
Right now the code between `r32` and `r64` is pretty much the same (as a result of copy-pasting it) except for some modifications to handle larger numbers in `r64`. Ideally...
It's theoretically possible to make a `r128` type, although not as straight-forward as `r32` and `r64` for some operations. This should eventually be added, but it's not a priority right...
A design decision must be made for how to calculate and handle square root values. There's two ways to handle square roots: * Return `Some` value only when it's an...