author | Szabolcs Nagy <nsz@port70.net> | 2013年09月06日 18:35:55 +0000 |
---|---|---|
committer | Szabolcs Nagy <nsz@port70.net> | 2013年09月06日 18:35:55 +0000 |
commit | 9b0fcb441a44456c7b071c7cdaf90403f81ec05a (patch) | |
tree | ebb08b777b53c318dc8ba55cd2979a17689843d6 /src/math/exp2.c | |
parent | f657fe4b9f734d7fdea515af8dffbf7c28ce4fbc (diff) | |
download | musl-9b0fcb441a44456c7b071c7cdaf90403f81ec05a.tar.gz |
-rw-r--r-- | src/math/exp2.c | 2 |
diff --git a/src/math/exp2.c b/src/math/exp2.c index 2e078fb0..e14adba5 100644 --- a/src/math/exp2.c +++ b/src/math/exp2.c @@ -340,7 +340,7 @@ double exp2(double x) if (ix >= 0x408ff000) { /* |x| >= 1022 or nan */ if (ix >= 0x40900000 && u.i>>63 == 0) { /* x >= 1024 or nan */ /* overflow */ - STRICT_ASSIGN(double, x, x * 0x1p1023); + x *= 0x1p1023; return x; } if (ix >= 0x7ff00000) /* -inf or -nan */ |