tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mysterious remquo bug



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


Home | Main Index | Thread Index | Old Index