projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
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 91738f04585957fa43709193080c88b02b16c758..cf6126eea776afb939aca1ff32ba3149e1f2ebb5 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 */
-
STRICT_ASSIGN(float, x, x * 0x1p127f)
;
+
x *= 0x1p127f
;
return x;
}
if (u.i >= 0x80000000) { /* x < -126 */