Skip to main content
Log in

Mojo function

tan

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

Computes the tan of the inputs.

Constraints:

The input must be a floating-point type.

Args:

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

Returns:

The tan of the input.