Searched hist:22731 (Results 1 - 1 of 1) sorted by relevance
/freebsd-10.0-release/lib/msun/ | ||
H A D | Makefile | diff 22731 Sat Feb 15 03:21:16 MST 1997 bde Disabled the i387 version if log1p(). It just evaluates log(1 + x). This defeats the point of log1p(). ucbtest reports errors of +-5e+15 ULPs. A correct version would use the i387 fyl2xp1 instruction for small x and maybe scale to small x. The C version does the scaling reasonably efficiently, and fyl2px1 is slow (at least on P5s), so not much is lost by always using the C version (only 25% for small x even with the broken i387 version; 50% for large x). |
Completed in 130 milliseconds