Handbook
Glossary
bits>float ( n -- x )
Factor handbook
»
The language
»
Numbers
»
Floats
»
Bitwise operations on floats
Prev:
double>bits ( x -- n )
Next:
bits>double ( n -- x )
Vocabulary
math
Inputs
n
a 32-bit integer representing an IEEE 754 single-precision float
Outputs
x
a
float
Word description
Creates a
float
object from a 32-bit binary representation. This word is usually used to reconstruct floats read from streams. NaN signs, payloads and signaling bits are preserved when widening to double precision.
See also
bits>double
,
double>bits
,
float>bits
Definition
IN:
math
PRIMITIVE:
bits>float
( n -- x )
foldable
flushable