Start » Filter Reference » Basic » Math » Logarithm

Logarithm


Module: FoundationLite

Computes the logarithm of a number in a given base.

Name Type Range Description
Input value
inBase Real 0.0 -
Input value
inValue Real 0.0 -
Output value
outLogarithm Real

Hints

  • This is a primitive mathematical filter. It is recommended to use Formula Blocks instead.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Base equal 1 in RealLogarithm
DomainError Nonpositive base in RealLogarithm
DomainError Nonpositive number in RealLogarithm

Complexity Level

This filter is available on Basic Complexity Level.