Logarithm Base 10 Function

Computes the base 10 logarithm of x.

If x is 0, log(x) is negative infinity. If x is not complex and is less than 0, log(x) is NaN. The connector pane displays the default data types for this polymorphic function.


icon

Inputs/Outputs

  • cdbl.png x

    x can be a scalar number, array or cluster of numbers, array of clusters of numbers, and so on.

  • idbl.png log(x)

    log(x) is of the same numeric representation as x. When x is of the form x = a + bi, that is, when x is complex, the following equation defines log(x):

  • Examples

    Refer to the following example files included with LabVIEW.

    • labview\examples\Mathematics\Elementary & Special Functions\Exponential Functions\Exponential.vi