float>bits ( x -- n )
Factor handbook » The language » Numbers » Floats » Bitwise operations on floats

Next:double>bits ( x -- n )


Vocabulary
math

Inputs
xa float


Outputs
na 32-bit integer representing an IEEE 754 single-precision float


Word description
Creates a 32-bit binary representation of a float object. This can be used in the process of writing a float to a stream.

See also
bits>double, bits>float, double>bits

Definition