`TryFrom` for `f64`

It depends on the desired semantics of your computation. Interval arithmetic was invented to facilitate establishing bounds on the error in a computation. The IEEE Floating Point rounding modes were invented in part to facilitate interval arithmetic. In some computations, -0.0 might be used to represent the interval (-πœ– .. 0.0] in contrast to +0.0 representing the interval [0.0 .. +πœ–) for minimally-representable πœ–.

1 Like