Logarithm

Block Group: Math Operations
Icon: Logarithm block icon

The Logarithm block calculates the logarithm of a number using a specified base. A negative input value causes a NaN error result to be returned.


Input/Output Properties

The following properties of the Logarithm block can take input and give output.

input specifies the number to get the logarithm for.

base specifies the base for the logarithm.


Output Property

The following property of the Logarithm block can give output but cannot take input.


Examples

The following image shows four examples of the Logarithm block.

Logarithm block examples