[perl #34549] atan2() isn't IEEE compliant on OpenBSD/*BSD/Cygwin/Solaris
Andy Dougherty
doughera at lafayette.edu
Tue Mar 24 04:25:45 UTC 2009
On Mon, 23 Mar 2009, Steve Peters wrote:
Andy> No, that doesn't fix it. I suspect it's a math library issue, and I just
Andy> haven't figured out how to tell gcc to do whatever cc does when you pass
Andy> it the -xlibmieee option.
> The answer might be here
> <http://people.redhat.com/drepper/sol-porting.pdf>. It sounds like
> -lieee -ffast-math might be the replacement to try.
No, that's going the other way -- it's the Linux flags needed to imitate
the Solaris behavior. In particular, I don't have a -lieee on Solaris.
(And --fast-math by itself doesn't get the "right" answer.)
--
Andy Dougherty doughera at lafayette.edu
More information about the parrot-dev
mailing list