projects
/
musl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
9b0fcb4
)
math: remove STRICT_ASSIGN from exp2f (see previous commit)
author
Szabolcs Nagy
<nsz@port70.net>
Fri, 6 Sep 2013 20:05:25 +0000
(20:05 +0000)
committer
Szabolcs Nagy
<nsz@port70.net>
Fri, 6 Sep 2013 20:05:25 +0000
(20:05 +0000)
src/math/exp2f.c
patch
|
blob
|
history
diff --git
a/src/math/exp2f.c
b/src/math/exp2f.c
index
91738f0
..
cf6126e
100644
(file)
--- a/
src/math/exp2f.c
+++ b/
src/math/exp2f.c
@@
-92,7
+92,7
@@
float exp2f(float x)
ix = u.i & 0x7fffffff;
if (ix > 0x42fc0000) { /* |x| > 126 */
if (u.i >= 0x43000000 && u.i < 0x80000000) { /* x >= 128 */
ix = u.i & 0x7fffffff;
if (ix > 0x42fc0000) { /* |x| > 126 */
if (u.i >= 0x43000000 && u.i < 0x80000000) { /* x >= 128 */
-
STRICT_ASSIGN(float, x, x * 0x1p127f)
;
+
x *= 0x1p127f
;
return x;
}
if (u.i >= 0x80000000) { /* x < -126 */
return x;
}
if (u.i >= 0x80000000) { /* x < -126 */