Module util

Source
Expand description

Module containing various utility functions.

Functionsยง

designalise_f32
If the specified 32-bit float is a signaling NaN, make it a quiet NaN.
designalise_f64
If the specified 64-bit float is a signaling NaN, make it a quiet NaN.
from_bits_f32_designalised
Reinterpret the given bits as a 32-bit float. If the specified word is a signaling NaN once interpreted, make it a quiet NaN.
from_bits_f64_designalised
Reinterpret the given bits as a 64-bit float. If the specified word is a signaling NaN once interpreted, make it a quiet NaN.