Re: mysterious remquo bug

Martin Husemann <[email protected]>
Newsgroups gmane.os.netbsd.devel.userlevel
Message-ID <[email protected]>
On Sun, Sep 15, 2024 at 07:53:54PM -0400, Greg Troxel wrote:
> I'm doing all this on netbsd-10, amd64, system gcc 10, intel 9th
> generation i7.  The following test program calls remquo with (-90, 90).
> This is from a test in geodesiclib in proj of a high-accuracy sincos
> implementation, which reduces angles to [45,-45] and then adjusts sign
> by quadrant.  But, it can be understood from the remquo specification.

This is fixed in -current, but it was quite some rototill, so I am not sure
it is feasable for pullup (at least not trivial to pullup).

remquo(x == -90.0, 90) r -0.000000 q -1
remquo(-90.0, 90) r -0.000000 q -1


Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.