summaryrefslogtreecommitdiff
path: root/src/math/sqrt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/sqrt.c')
-rw-r--r--src/math/sqrt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/math/sqrt.c b/src/math/sqrt.c
index b2775673..f1f6d76c 100644
--- a/src/math/sqrt.c
+++ b/src/math/sqrt.c
@@ -179,7 +179,6 @@ double sqrt(double x)
ix1 = q1>>1;
if (q&1)
ix1 |= sign;
- ix0 += m << 20;
- INSERT_WORDS(z, ix0, ix1);
+ INSERT_WORDS(z, ix0 + ((uint32_t)m << 20), ix1);
return z;
}