Searched hist:151966 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11.0-release/lib/msun/src/
H A Dk_sin.cdiff 151966 Wed Nov 02 13:06:49 MST 2005 bde Updated the comment about the optimization for tiny x (the previous
commit moved it). This includes a comment that the "kernel" sine no
longer works on arg -0, so callers must now handle this case. The kernel
sine still works on all other tiny args; without the optimization it is
just a little slower on these args. I intended it to keep working on
all tiny args, but that seems to be impossible without losing efficiency
or accuracy. (sin(x) ~ x * (1 + S1*x**2 + ...) would preserve -0, but
the approximation must be written as x + S1*x**3 + ... for accuracy.)

Completed in 176 milliseconds