diff options
author | das <das@FreeBSD.org> | 2013-05-27 08:50:10 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2013-05-27 08:50:10 +0000 |
commit | e7b0a63c190c7ecb475b09f41387a75952540f49 (patch) | |
tree | fe26b077920f74a021643eb895e508cd1a90d404 /lib/msun/src/s_exp2f.c | |
parent | e97a0dc9656bc3f5214866731094513064e59725 (diff) | |
download | FreeBSD-src-e7b0a63c190c7ecb475b09f41387a75952540f49.zip FreeBSD-src-e7b0a63c190c7ecb475b09f41387a75952540f49.tar.gz |
Fix some regressions caused by the switch from gcc to clang. The fixes
are workarounds for various symptoms of the problem described in clang
bugs 3929, 8100, 8241, 10409, and 12958.
The regression tests did their job: they failed, someone brought it
up on the mailing lists, and then the issue got ignored for 6 months.
Oops. There may still be some regressions for functions we don't have
test coverage for yet.
Diffstat (limited to 'lib/msun/src/s_exp2f.c')
-rw-r--r-- | lib/msun/src/s_exp2f.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/msun/src/s_exp2f.c b/lib/msun/src/s_exp2f.c index 0a97bf6..9ac7c1f 100644 --- a/lib/msun/src/s_exp2f.c +++ b/lib/msun/src/s_exp2f.c @@ -36,14 +36,15 @@ __FBSDID("$FreeBSD$"); #define TBLSIZE (1 << TBLBITS) static const float - huge = 0x1p100f, redux = 0x1.8p23f / TBLSIZE, P1 = 0x1.62e430p-1f, P2 = 0x1.ebfbe0p-3f, P3 = 0x1.c6b348p-5f, P4 = 0x1.3b2c9cp-7f; -static volatile float twom100 = 0x1p-100f; +static volatile float + huge = 0x1p100f, + twom100 = 0x1p-100f; static const double exp2ft[TBLSIZE] = { 0x1.6a09e667f3bcdp-1, |