[PATCH v2 3/8] math: Use sinh from CORE-MATH
DJ Delorie
dj@redhat.com
Wed Mar 11 18:06:27 GMT 2026
Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:
static const double t0[][2]
= { { 0x0p+0, 0x1p+0 },
{ -0x1.19083535b085ep-56, 0x1.02c9a3e778061p+0 },
. . .
{ 0x1.74853f3a5931ep-55, 0x1.fa7c1819e90d8p+0 } };
static const double t1[][2] = {
{ 0x0p+0, 0x1p+0 },
Annoying that these two adjacent initializers are not formatted the
same...
> + uint64_t tt = ~((1 << 26) - 1l);
> + v &= tt;
> + double t = asdouble (v) - 0x1.8p26;
> + uint64_t aix = asuint64 (ax);
> + if (__glibc_unlikely (aix < 0x3fd0000000000000ull))
UINT64_C ?
> + double e = 0.12e-18 * th, lb = rh + (rl - e), ub = rh + (rl + e);
p format here ?
> + double e = 0.122e-18 * rh, lb = rh + (rl - e), ub = rh + (rl + e);
And here.
> + double e = 0.38e-18 * rh, lb = rh + (rl - e), ub = rh + (rl + e);
And here.
More information about the Libc-alpha
mailing list