Skip to main content
Log in

Mojo function

expm1

expm1(x: SIMD[type, size]) -> SIMD[type, size]

Computes the expm1 of the inputs.

Constraints:

The input must be a floating-point type.

Args:

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

Returns:

The expm1 of the input.