musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/math/log1p.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/log1p.c')
-rw-r--r--src/math/log1p.c 2
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 */
generated by cgit v1.2.1 (git 2.18.0) at 2025年10月08日 08:02:22 +0000

AltStyle によって変換されたページ (->オリジナル) /