floor (value -- floorValue)value: Real value rounded downward.floorValue: Greatest whole-valued real not greater than value.floor accepts Real32 and Real64 values. The input is dereferenced and must be non-NIL.
-2.1r32 becomes -3.0r32.{} () {} [
"-- real32 --" printCompilerMessage
2.9r32 floor printStack _:;
-2.1r32 floor printStack _:;
-2.0r32 floor printStack _:;
"-- real64 --" printCompilerMessage
2.9 floor printStack _:;
-2.1 floor printStack _:;
-2.0 floor printStack _:;
] "main" exportFunction
-- real32 --
2.0r32
-3.0r32
-2.0r32
-- real64 --
2.0
-3.0
-2.0
^ builtin (base exponent -- power) Raises one Real value to another of the same schema and keeps that real schema in the result.cast builtin (value schema -- convertedValue) Casts a Cond or numeric value to the numeric schema selected by the schema input.ceil builtin (value -- ceilingValue) Rounds a Real value upward and keeps the same real schema.cos builtin (angle -- cosine) Computes the cosine of a Real value and keeps the same real schema.log builtin (argument -- naturalLogarithm) Computes the natural logarithm of a Real value and keeps the same real schema.log10 builtin (argument -- decimalLogarithm) Computes the base-10 logarithm of a Real value and keeps the same real schema.neg builtin (value -- negatedValue) Negates a signed Int or Real value and keeps the same schema.sin builtin (angle -- sine) Computes the sine of a Real value and keeps the same real schema.sqrt builtin (radicand -- squareRoot) Computes the square root of a Real value and keeps the same real schema.