mirror of
git://git.musl-libc.org/musl
synced 2025-03-10 21:57:27 +00:00
math: remove STRICT_ASSIGN from exp2f (see previous commit)
This commit is contained in:
parent
9b0fcb441a
commit
067aea7c9b
@ -92,7 +92,7 @@ float exp2f(float x)
|
|||||||
ix = u.i & 0x7fffffff;
|
ix = u.i & 0x7fffffff;
|
||||||
if (ix > 0x42fc0000) { /* |x| > 126 */
|
if (ix > 0x42fc0000) { /* |x| > 126 */
|
||||||
if (u.i >= 0x43000000 && u.i < 0x80000000) { /* x >= 128 */
|
if (u.i >= 0x43000000 && u.i < 0x80000000) { /* x >= 128 */
|
||||||
STRICT_ASSIGN(float, x, x * 0x1p127f);
|
x *= 0x1p127f;
|
||||||
return x;
|
return x;
|
||||||
}
|
}
|
||||||
if (u.i >= 0x80000000) { /* x < -126 */
|
if (u.i >= 0x80000000) { /* x < -126 */
|
||||||
|
Loading…
Reference in New Issue
Block a user