@std/test/boundary.ms#
Import each required symbol with import Name from "@std/test/boundary.ms".
finite_float_boundaries Function#
Returns float_boundaries without NaN and the two infinities, for references that
need an exact rational value.
Manuscript
fn finite_float_boundaries() List[Float] { ... }float_boundaries Function#
Returns the Float values where results change character: both zeros, plus and minus one, values near one, the halves and ties around integers, 2^53 and its neighbors, the Int range edges, the largest and smallest finite values, the subnormal range from its smallest to its largest value, both infinities, and NaN.
Manuscript
fn float_boundaries() List[Float] { ... }int_boundaries Function#
Returns the Int values where arithmetic changes behavior: zero, plus and minus one and two, powers of two and their neighbors up to 2^62, the 2^31 and 2^32 edges, 10^18, and both extremes with their neighbors.
Manuscript
fn int_boundaries() List[Int] { ... }