Mojo function
remainder
remainder[type: DType, simd_width: Int, //](x: SIMD[type, simd_width], y: SIMD[type, simd_width]) -> SIMD[$0, $1]
Computes the remainder
of the inputs.
Constraints:
The input must be a floating-point type.
Parameters:
- βtype (
DType
): Thedtype
of the input and output SIMD vector. - βsimd_width (
Int
): The width of the input and output SIMD vector.
Args:
- βx (
SIMD[type, simd_width]
): The first input argument. - βy (
SIMD[type, simd_width]
): The second input argument.
Returns:
The remainder
of the inputs.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
π What went wrong?