Skip to main content

function

expm1

expm1[type: DType, simd_width: Int](arg: SIMD[type, simd_width]) -> SIMD[$0, $1]

Computes the expm1 of the inputs.

Parameters:

  • type (DType): The dtype of the input and output SIMD vector. Constraints: must be a floating-point type.
  • simd_width (Int): The width of the input and output SIMD vector.

Args:

  • arg (SIMD[type, simd_width]): The input argument.

Returns:

The expm1 of the input.

Was this page helpful?