about summary refs log tree commit diff
path: root/src/math/exp2f.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/exp2f.c')
-rw-r--r--src/math/exp2f.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/exp2f.c b/src/math/exp2f.c
index 91738f04..cf6126ee 100644
--- 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 */