Skip to content

Math.Log10

Name Mandatory Description Default Type
⬅️ Input The input float or sequence of floats to calculate the base 10 logarithm of. This value must be a positive number or sequence of positive numbers. FloatFloat2Float3Float4Color[Any]
Output ➡️ Outputs the base 10 logarithm of the input. FloatFloat2Float3Float4Color[Any]

This shard calculates the base 10 logarithm for the given input. The output is the exponent to which 10 must be raised to obtain the input value.

Details

If a sequence of floats was provided as input, the shard will calculate Log10(x) for each element in the sequence and output a sequence.

If a sequence of vectors was provided as input, the shard will calculate Log10(x) for each component in each vector in the sequence and output a sequence of vectors where each component in each vector is the result of the logarithmic calculation of the corresponding component in the input sequence.

Examples

1
2
3
4
5
@f3(1.0 0.5 10.0)
Math.Log10 | Log

Math.Subtract(@f3(0.0 -0.30102999 1.0)) | Math.Abs
Log