[PATCH 20/25] math: Use tgamma from CORE-MATH

DJ Delorie dj@redhat.com
Wed Sep 10 22:14:03 GMT 2025


Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:
> -  gamma_productF \

Like lgamma, __gamma_product is missing from libm.a

> +static inline double
> +splt (double x, double *xl)
> +{
> +  static const double off = 0x1.8p27;
> +  double xh = (x + off) - off;
> +  *xl = x - xh;
> +  return xh;
> +}

These could really use comments ;-)

>  }
>  libm_alias_finite (__ieee754_gamma_r, __gamma_r)
> +
> +    double as_logd (double x, double *l)
> +{

Unneeded indent?



More information about the Libc-alpha mailing list