[COMMITTED] math: Sync exp10m1f with CORE-MATH
Adhemerval Zanella
adhemerval.zanella@linaro.org
Mon Sep 21 12:38:58 GMT 2026
Import CORE-MATH revision 6616e78e.
Checked on aarch64-linux-gnu.
---
SHARED-FILES | 2 +-
sysdeps/ieee754/flt-32/s_exp10m1f.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/SHARED-FILES b/SHARED-FILES
index 9eedb597e7..b856ef9a87 100644
--- a/SHARED-FILES
+++ b/SHARED-FILES
@@ -313,7 +313,7 @@ core-math:
sysdeps/ieee754/flt-32/s_erfcf.c
# src/binary32/erf/erff.c revision bc385c2
sysdeps/ieee754/flt-32/s_erff.c
- # src/binary32/exp10m1/exp10m1f.c, revision c46b85b
+ # src/binary32/exp10m1/exp10m1f.c, revision 8ea8ea35
sysdeps/ieee754/flt-32/s_exp10m1f.c
# src/binary32/exp2m1/exp2m1f.c, revision baf5f6b
sysdeps/ieee754/flt-32/s_exp2m1f.c
diff --git a/sysdeps/ieee754/flt-32/s_exp10m1f.c b/sysdeps/ieee754/flt-32/s_exp10m1f.c
index ea3173a174..03f11f68bd 100644
--- a/sysdeps/ieee754/flt-32/s_exp10m1f.c
+++ b/sysdeps/ieee754/flt-32/s_exp10m1f.c
@@ -3,7 +3,7 @@
Copyright (c) 2022-2024 Alexei Sibidanov. Paul Zimmermann.
The original version of this file was copied from the CORE-MATH
-project (file src/binary32/exp10m1/exp10m1f.c, revision c46b85b).
+project (file src/binary32/exp10m1/exp10m1f.c, revision 8ea8ea35).
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -80,7 +80,7 @@ __exp10m1f (float x)
else
{
if (__glibc_unlikely (ux == 0xb6fa215bu))
- return -0x1.1ff87ep-16 + 0x1p-68;
+ return -0x1.1ff87ep-16f + 0x1p-68f;
r = 0x1.26bb1bbb55516p+1
+ z * (0x1.53524c73ea62fp+1
+ z * 0x1.0470591de2c75p+1);
--
2.47.3
More information about the Libc-alpha
mailing list