__m128d x - the double precision input value pair.
Outputs:
Cosine of x.
__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 1 ulp over the valid input range.
This routine may return slightly worse than 1 ulp for very large values between 4e5 and 5e5.
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).