Skip to main content
Log in

Mojo function

log1p

log1p(x: SIMD[type, size]) -> SIMD[$0, $1]

Computes the log1p of the inputs.

Constraints:

The input must be a floating-point type.

Args:

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

Returns:

The log1p of the input.

Was this page helpful?