bde 2005-11-30 06:47:19 UTC
FreeBSD src repository
Modified files:
lib/msun/src s_cosf.c
Log:
Fixed cosf(x) when x is a "negative" NaNs. I broke this in rev.1.10.
cosf(x) is supposed to return something like x when x is a NaN, and
we actually fairly consistently
bde 2005-11-28 06:15:10 UTC
FreeBSD src repository
Modified files:
lib/msun/src s_cosf.c s_sinf.c
Log:
Exploit skew-symmetry to avoid an operation: -sin(x-A) = sin(A-x). This
gives a tiny but hopefully always free optimization in the 2 quadrants
to which it appli
bde 2005-11-28 05:46:13 UTC
FreeBSD src repository
Modified files:
lib/msun/src s_cosf.c s_sinf.c
Log:
Try to use the "proximity" (~) operator consistently in comments
(x ~<= a, not x <= ~a). This got messed up in some places when the
comments were moved from e_r
bde 2005-11-17 03:53:22 UTC
FreeBSD src repository
Modified files:
lib/msun/src s_cosf.c s_sinf.c s_tanf.c
Log:
Minor cleanups:
s_cosf.c and s_sinf.c:
Use a non-bogus magic constant for the threshold of pi/4. It was 2 ulps
smaller than pi/4 rounded down, but