This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: asinh() returns incorrect value with optimization turned on (fwd)
- To: bug-gcc at gnu dot org, molnard at phys dot columbia dot edu
- Subject: Re: asinh() returns incorrect value with optimization turned on (fwd)
- From: Mike Stump <mrs at windriver dot com>
- Date: Mon, 8 May 2000 11:21:22 -0700 (PDT)
> Date: Mon, 8 May 2000 10:59:00 -0400 (EDT)
> From: Denes Molnar <molnard@phys.columbia.edu>
> To: bug-gcc@gnu.org
> 1;
> The function asinh() returns incorrect values for negative numbers when
> optimization is turned on (level 1 or higher).
> #include <iostream>
> #include <math.h>
Please double check your system headers for the use of __OPTIMIZE__
and see if they use this flag to do this. If they do, this I think is
a misuse of that flag, if the behavior is mandated by the language
standard.