CVSROOT: /cvs Module name: src Changes by: [email protected] 2022/01/20 20:12:43
Modified files:
lib/libm/src : k_cos.c s_cos.c
Log message:
Copy cos(3) software implementation from FreeBSD-13
The result passes more tests from msun suite. In particular,
testacc(cos, -0.34061437849088045332L, 0.94254960031831729956L,
ALL_STD_EXCEPT, FE_INEXACT);
matches instead of being 1e-16 off.
OK mbuhl@, tested by mbuhl@ and phessler@
