fenv
nimony/lib/std/fenv.nim
Floating-point environment. Handling of floating-point rounding and exceptions (overflow, division by zero, etc.). The types, vars and procs are bindings for the C standard library <fenv.h> header.
template minimumPositiveValue(T: typedesc[float32]): float32The smallest positive (nonzero) number that can be represented in a 32-bit floating-point type.
template epsilon(T: typedesc[float32]): float32The difference between 1.0 and the smallest number greater than 1.0 that can be represented in a 32-bit floating-point type.
template minimumPositiveValue(T: typedesc[float64]): float64The smallest positive (nonzero) number that can be represented in a 64-bit floating-point type.
template epsilon(T: typedesc[float64]): float64The difference between 1.0 and the smallest number greater than 1.0 that can be represented in a 64-bit floating-point type.