Logarithm to the base of 10

This function block computes the common logarithm to the base 10 from the absolute value of the input signal X. The result is presented at the output Y.

Operation

Signals

Name I/O Type(s) Function
X I FLOAT Operand
Y O FLOAT Result

Comments

The function sets the output Y to -3.4E38 if the value X is zero.