acosh | Modular

Mojo function

acosh[dtype: DType, width: Int, //](x: SIMD[dtype, width]) -> SIMD[dtype, width]

Computes the acosh of the inputs.

Constraints:

The input must be a floating-point type.

Parameters:

  • dtype (DType): The dtype of the input and output SIMD vector.
  • width (Int): The width of the input and output SIMD vector.

Args:

  • x (SIMD): The input argument.

Returns:

SIMD: The acosh of the input.

Thank you! We'll create more content like this.

Thank you for helping us improve!

😔 What went wrong?