Module Flambda2_floats.Float32
IEE754 32-bit floats represented as 32-bit integers. Operations are implemented in C stubs.
val of_string : string -> tParse 32-bit float literal.
val to_string : t -> stringFormat 32-bit float to string.
val of_float : float -> tConvert from a 64-bit float; rounds to the nearest 32-bit float.
val to_float : t -> floatConvert to a 64-bit float; exact.
val to_bits : t -> int32Bit-cast to 32-bit integer.
val of_bits : int32 -> tBit-cast from 32-bit integer.