>float ( x -- y )
Factor handbook » The language » Numbers » Floats

Prev:float
Next:/f ( x y -- z )


Vocabulary
math

Inputs
xa real


Outputs
ya float


Word description
Converts a real to a float. This is the identity on floats, and performs a floating point division on rationals.

Definition


Methods