summaryrefslogtreecommitdiff
path: root/src/math/log1p.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/log1p.c')
-rw-r--r--src/math/log1p.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/log1p.c b/src/math/log1p.c
index 9bed63c2..a71ac423 100644
--- a/src/math/log1p.c
+++ b/src/math/log1p.c
@@ -122,7 +122,7 @@ double log1p(double x)
return x+x;
if (k != 0) {
if (hx < 0x43400000) {
- STRICT_ASSIGN(double, u, 1.0 + x);
+ u = 1 + x;
GET_HIGH_WORD(hu, u);
k = (hu>>20) - 1023;
c = k > 0 ? 1.0-(u-x) : x-(u-1.0); /* correction term */