summaryrefslogtreecommitdiff
path: root/src/math/sqrtf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/sqrtf.c')
-rw-r--r--src/math/sqrtf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/math/sqrtf.c b/src/math/sqrtf.c
index 28cb4ad3..d6ace38a 100644
--- a/src/math/sqrtf.c
+++ b/src/math/sqrtf.c
@@ -78,7 +78,6 @@ float sqrtf(float x)
}
}
ix = (q>>1) + 0x3f000000;
- ix += m << 23;
- SET_FLOAT_WORD(z, ix);
+ SET_FLOAT_WORD(z, ix + ((uint32_t)m << 23));
return z;
}