Logarithm

The logarithmic function (log) calculates the logarithm of a number with a specified base. If the natural logarithm function (ln) is desired, set the base to "e".

Interface

Inputs

ParameterDetailsPossible Types
Value

The number for which the logarithm is calculated.

Primary Input

f32
f64
Base

The base of the logarithm, such as 2 (binary), 10 (decimal), and e (natural logarithm).

Default: 2

f32
f64

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

f64
f32