[PATCH 13/23] math: Fix the expected atan2f (inf) results

Joseph Myers josmyers@redhat.com
Fri Nov 29 16:40:43 GMT 2024


On Fri, 29 Nov 2024, Adhemerval Zanella wrote:

> The pi defined constants are not the expected value for atan2
> on non-default rounding modes.  Instead use the autogenerated value.

The same principle presumably also applies to (the imaginary part of) clog 
and clog10.  (And indeed expected errors for the imaginary part of clogf 
could also be removed from libm-test-ulps files if clog is changed to 
defer to atan2 for the imaginary part when called on a zero argument.)

-- 
Joseph S. Myers
josmyers@redhat.com



More information about the Libc-alpha mailing list