Skip to main content
Log in

Mojo function

recip

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

Performs elementwise reciprocal on a SIMD vector.

Args:

  • x (SIMD[type, size]): SIMD vector to perform reciprocal on.

Returns:

The elementwise reciprocal of x.