log10 (argument -- decimalLogarithm)argument: Real value whose base-10 logarithm is taken.decimalLogarithm: Base-10 logarithm in the same real schema.log10 accepts Real32 and Real64 values. The input is dereferenced and must be non-NIL.
nanr32 for -1.0r32.{} () {} [
"-- real32 --" printCompilerMessage
100.0r32 log10 printStack _:;
0.0r32 log10 printStack _:;
-1.0r32 log10 printStack _:;
"-- real64 --" printCompilerMessage
100.0 log10 printStack _:;
0.0 log10 printStack _:;
-1.0 log10 printStack _:;
] "main" exportFunction
-- real32 --
2.0r32
-infr32
nanr32
-- real64 --
2.0
-inf
nan
^ 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.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.