[PATCH v2 3/8] math: Use sinh from CORE-MATH

Adhemerval Zanella Netto adhemerval.zanella@linaro.org
Wed Mar 11 18:22:37 GMT 2026



On 11/03/26 15:06, DJ Delorie wrote:
> 
> 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...

Ack, I will fix it.

> 
>> +  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 ?

Ack.

> 
>> +	  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.
> 

And ack, I will fix them.



More information about the Libc-alpha mailing list