浏览代码

math: remove STRICT_ASSIGN from exp2f (see previous commit)

Szabolcs Nagy 11 年之前
父节点
当前提交
067aea7c9b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/math/exp2f.c

+ 1 - 1
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 */