bits>float ( n -- x )

Factor handbook » The language » Numbers » Floats » Bitwise operations on floats

Factor handbook » The language » Numbers » Floats » Bitwise operations on floats

Prev: | double>bits ( x -- n ) |

Next: | bits>double ( n -- x ) |

Vocabulary

math

Inputs

Outputs

Word description

Creates a float object from a 32-bit binary representation. This word is usually used to reconstruct floats read from streams.

See also

bits>double, double>bits, float>bits

Definition

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.

See also

bits>double, double>bits, float>bits

Definition