This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: More math problems (compiler?)


> 
> On Fri, 20 Feb 1998 10:20:53 -0800 (PST), H.J. Lu wrote:
> >> 
> >> 
> >> After all the reports of bad math functions in libm I decided to do
> >> some basic tests of math functionality.  The results are
> >> disappointing.  It seems we provide a proper IEEE754 environment only
> >> with single precision and optimization off.  Double precision has a
> >> minor flaw; enabling optimization causes a series of catastrophic
> >> failures.
> [...]
> >
> >Which libm did you test, 387 or libm-ieee754?
> 
> 387.
> 
> I think the problem is with the compiler though.

Have you tried -mieee-fp?

-- 
H.J. Lu (hjl@gnu.org)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]