When I call the sin()
function from math.h
, on MSVC
for example (or GCC
), which kind of approximation is it used? Is it well know?
And which accuracy does it have?
If I use the ippsSin
IPP SIMD
function, for example, I can choose which accuracy (even if I don't know the approx algorithm). Using double, I feel good with the performance I get from ippsSin_64fc_A26
, but I'm not able to quantify its error (which is specified as guarantee 26 correctly rounded bits of significand, or 6.7E+7 ulps, or approximately 8 exact decimal digits;), compared to the native/scalar sin()
.
Is sin()
more accurate? More than ippsSin_64f_A53
also?
Just to give an idea if its worth to lose precision due to performances.