On Thu, Jul 03, 2025 at 12:56:24AM +0800, Yuao Ma wrote: > > This patch adds the required function for Fortran trigonometric functions to > work with glibc versions prior to 2.26. It's based on glibc source commit > 632d895f3e5d98162f77b9c3c1da4ec19968b671. > > I've built it successfully on my end. Documentation is also included. > > Please take a look when you have a moment. >
... > * math/acospiq.c: New file. > * math/cospiq.c: New file. I have only at these 2 functions and only quickly as I cannot read (L)GPL for implementation of special function for fear of taint. Have you done any benchmarks with respect to numerical accuracy? I suspect these functions have unnecessary issues with precision. -- steve