[PATCH v2 1/8] math: Use cosh from CORE-MATH
DJ Delorie
dj@redhat.com
Wed Mar 11 03:31:03 GMT 2026
Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:
> + if (__glibc_unlikely (aix < 0x3fc0000000000000ull))
UINT64_C ?
> + double e = 0.122e-18 * rh, lb = rh + (rl - e), ub = rh + (rl + e);
0.122e-18 isn't exact, should use p format. Unless exactness doesn't
matter here; the p form is messy.
> + rh = fph + fmh;
> + rl = ((fph - rh) + fmh) + fml + fpl;
> + double e = 0.38e-18 * rh, lb = rh + (rl - e), ub = rh + (rl + e);
0.38e-18 happens to be exact, but still should use p format, unless as above.
More information about the Libc-alpha
mailing list