------- Additional Comments From pcarlini at suse dot de  2005-03-07 09:53 
-------
>This is the problem.  From the HP-UX 10 manpage
>
>  If both x and y are zero, atan2() returns NaN.
>
>The behavior changed in HP-UX 11
>
>  If both x and y are zero, atan2() returns zero.

I see. We are assuming the latter behavior, as per IEC 60559, F.9.1.4 of the
C99 Standard. Most current C libraries implement it, indeed. I'm afraid we
can't do much...

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20352

Reply via email to