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".

With vec2 inputs, this applies separately to the X and Y components.

Interface

Inputs

ParameterDetailsPossible Types
Value

The number for which the logarithm is calculated.

Primary Input

Vec2[]
Vec2
f32[]
f32
f64[]
f64
Base

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

Default: 2

Vec2[]
Vec2
f32[]
f32
f64[]
f64

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

f64
f64[]
f32
f32[]
Vec2
Vec2[]