On Thu, Jul 03, 2025 at 02:43:43PM +0200, Michael Matz wrote:
> Hello,
>
> On Thu, 3 Jul 2025, 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
> > 632d895f3e5d98162f77b9
Hi all,
On 7/3/2025 9:21 PM, Jakub Jelinek wrote:
On Thu, Jul 03, 2025 at 02:43:43PM +0200, Michael Matz wrote:
Hello,
On Thu, 3 Jul 2025, 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 s
On Jul 03 2025, Michael Matz wrote:
> Yes. And then the above is multiplied by PI, passed to cos/sin and that
> one then tries to figure out the multiple of PI (i.e. the 'x' above) again
> via range reduction (not a _terribly_ slow one anymore in a good
> implementation, because of the limited
On Thu, 3 Jul 2025, Michael Matz wrote:
> Yes. And then the above is multiplied by PI, passed to cos/sin and that
> one then tries to figure out the multiple of PI (i.e. the 'x' above) again
> via range reduction (not a _terribly_ slow one anymore in a good
> implementation, because of the lim
Hello,
On Thu, 3 Jul 2025, Joseph Myers wrote:
> > > Isn't the whole raison d'etre for the trig-pi functions that the internal
> > > argument reduction against multiples of pi becomes trivial and hence (a)
> > > performant, and (b) doesn't introduce rounding artifacts? Expressing the
> > > tr
On Thu, 3 Jul 2025, Jakub Jelinek wrote:
> > Isn't the whole raison d'etre for the trig-pi functions that the internal
> > argument reduction against multiples of pi becomes trivial and hence (a)
> > performant, and (b) doesn't introduce rounding artifacts? Expressing the
> > trig-pi functions
On Thu, Jul 03, 2025 at 02:43:43PM +0200, Michael Matz wrote:
> Hello,
>
> On Thu, 3 Jul 2025, 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
> > 632d895f3e5d98162f77b9
Hello,
On Thu, 3 Jul 2025, 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
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 en