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. At run time a negative input has no value and 0 gives -inf.
  • Expression - An Expression computing ln(value). Always returns a Float.
  • ValueError - If value is can be computed statically and is non-positive.