This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: More math problems (compiler?)
- To: zack at rabi dot phys dot columbia dot edu (Zack Weinberg)
- Subject: Re: More math problems (compiler?)
- From: hjl at lucon dot org (H.J. Lu)
- Date: Fri, 20 Feb 1998 10:39:14 -0800 (PST)
- Cc: libc-hacker at gnu dot org, egcs-bugs at cygnus dot com
>
> 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)