This fixes tests/lib/msun/logarithm_test after compiling the test with
-fno-builtin (D28577). Adding invln10_lo + invln10_10 results in
FE_INEXACT and the same for the log2l invln2_lo + invln2_hi. This patch
avoids FE_INEXACT by defining a constant and using that.
Details
Details
logarithm_test works for me now.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 37280 Build 34169: arc lint + arc unit
Event Timeline
Comment Actions
Although the original authors seem to dislike constant folding by the compiler, it is a good idea here. :)