__m128d x - the double precision input value pair.
Outputs:
__m128d y - the double precision Cosine result pair, returned in xmm0.
Notes:
__vrd2_cos computes the Cosine function of two input arguments.
This routine accepts a pair of double precision input values passed as a __m128d value.
The result is the double precision Cosine of both values, returned as a __m128d value.
This is a relaxed version of cos, 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 2 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:
120 cycles for most valid inputs < 5e5 (60 cycles per value).