sqrt (radicand -- squareRoot)radicand: Real radicand.squareRoot: Square root in the same real schema.sqrt accepts Real32 and Real64 values. The input is dereferenced and must be non-NIL.
nanr32 for -1.0r32.{} () {} [
"-- known real32 --" printCompilerMessage
9.0r32 sqrt printStack _:;
2.25r32 sqrt printStack _:;
-1.0r32 sqrt printStack _:;
"-- unknown real32 --" printCompilerMessage
value: 0.0r32 dynamic;
value sqrt printStack _:;
] "main" exportFunction
-- known real32 --
3.0r32
1.5r32
nanr32
-- unknown real32 --
Real32
^ 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.floor builtin (value -- floorValue) Rounds a Real value downward 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.