projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
math.h: make __FLOAT_BITS and __DOUBLE_BITS C89
[musl]
/
src
/
math
/
expm1.c
diff --git
a/src/math/expm1.c
b/src/math/expm1.c
index
a7eb2c0
..
ac1e61e
100644
(file)
--- a/
src/math/expm1.c
+++ b/
src/math/expm1.c
@@
-155,7
+155,7
@@
double expm1(double x)
hi = x - t*ln2_hi; /* t*ln2_hi is exact here */
lo = t*ln2_lo;
}
hi = x - t*ln2_hi; /* t*ln2_hi is exact here */
lo = t*ln2_lo;
}
-
STRICT_ASSIGN(double, x, hi - lo)
;
+
x = hi-lo
;
c = (hi-x)-lo;
} else if (hx < 0x3c900000) { /* |x| < 2**-54, return x */
if (hx < 0x00100000)
c = (hi-x)-lo;
} else if (hx < 0x3c900000) { /* |x| < 2**-54, return x */
if (hx < 0x00100000)