diff options
author | Hasaan Khan <Hasaan.Khan@arm.com> | 2025-08-20 11:27:23 +0000 |
---|---|---|
committer | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2025-09-02 16:50:24 +0000 |
commit | 8ced7815fbff7bec9af2b7611a3478af27b57d13 (patch) | |
tree | 0d48a47ef256d42915e80d73f0ac01db00dfda0d /math | |
parent | 54bd776f991f1a228a6bb6d76bf542edd915a0e3 (diff) | |
download | glibc-master.zip glibc-master.tar.gz glibc-master.tar.bz2 |
Vector variants of the new C23 exp2m1 & exp10m1 routines.
Note: Benchmark inputs for exp2m1 & exp10m1 are identical to exp2 & exp10
respectively, this also includes the floating point variations.
Reviewed-by: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
Diffstat (limited to 'math')
-rw-r--r-- | math/bits/mathcalls.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/math/bits/mathcalls.h b/math/bits/mathcalls.h index 3b9032e..735aa39 100644 --- a/math/bits/mathcalls.h +++ b/math/bits/mathcalls.h @@ -136,10 +136,10 @@ __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2)); __MATHCALL_VEC (exp10,, (_Mdouble_ __x)); /* Return exp2(X) - 1. */ -__MATHCALL (exp2m1,, (_Mdouble_ __x)); +__MATHCALL_VEC (exp2m1,, (_Mdouble_ __x)); /* Return exp10(X) - 1. */ -__MATHCALL (exp10m1,, (_Mdouble_ __x)); +__MATHCALL_VEC (exp10m1,, (_Mdouble_ __x)); /* Return log2(1 + X). */ __MATHCALL (log2p1,, (_Mdouble_ __x)); |