log10
relationalai.semantics.std.math
log10(value: NumberValue) -> ExpressionCompute the base-10 logarithm.
Parameters
Section titled “Parameters”
(valueNumberValue) - The positive input value. If the input value is not statically known to be non-positive, but turns out to be non-positive at runtime, returnsNaN.
Returns
Section titled “Returns”Expression- AnExpressioncomputing log_10(value). ReturnsFloat.
Raises
Section titled “Raises”ValueError- Ifxcan be computed statically and is non-positive.
Examples
Section titled “Examples”Compute base-10 logarithm:
>>> select(math.log10(1000))>>> select(math.log10(Signal.power))