Skip to main content
Log in

Mojo function

log10

log10(x: SIMD[dtype, size]) -> SIMD[dtype, size]

Computes the log10 of the inputs.

Constraints:

The input must be a floating-point type.

Args:

  • x (SIMD[dtype, size]): The input argument.

Returns:

The log10 of the input.