Skip to content

natural_log

relationalai.semantics.std.math
natural_log(value: NumberValue) -> Expression

Compute the natural logarithm (ln).

  • value

    (NumberValue) - A positive input number value. If the input value is not statically known to be non-positive, but turns out to be non-positive at runtime, returns NaN.
  • Expression - An Expression computing ln(value). Always returns a Float.
  • ValueError - If value is can be computed statically and is non-positive.