__m128 x - the four single precision input values.
Outputs:
__m128 y - the four single precision Cosine results , returned in xmm0.
Notes:
__vrs4_cosf computes the Cosine function of four input arguments.
This routine accepts four single precision input values passed as a __m128 value. The result
is the single precision Cosine of all four values, returned as a __m128 value.
This is a relaxed version of cosf, suitable for use with fastmath compiler flags or applications
not requiring full error handling. Denormal inputs may produce unpredictable results.
Special case inputs produce C99 return values.
The routine is accurate to better than 1 ulp over the valid input range.
Special case return values:
Input
Output
QNaN
same QNaN
SNaN
same NaN converted to QNaN
+infinity
QNaN
-infinity
QNaN
Performance:
176 cycles for most valid inputs < 5e5 (44 cycles per value).