Sine function The function sin() is evaluated by phasing the argument, and then computing its cosine. It is based on the identity: sin(x) = cos(pi/2-x) - x the input angle Return the sine of the angle
| 607 | // - x the input angle |
| 608 | // Return the sine of the angle |
| 609 | inline __m128 sseSin(const __m128 x) |
| 610 | { |
| 611 | return sseCos(_mm_sub_ps(E_PI_2, x)); |
| 612 | } |
| 613 | |
| 614 | // Sine and Cosine function |
| 615 | // |