This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/40070] Some math expressions containing exponents fail on a Windows 64 build
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 May 2009 16:18:14 -0000
- Subject: [Bug fortran/40070] Some math expressions containing exponents fail on a Windows 64 build
- References: <bug-40070-17691@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from kargl at gcc dot gnu dot org 2009-05-08 16:18 -------
(In reply to comment #10)
> When I run the fortran code: print *, precision(1.e0), digits(1.e0)
> I get: 6,24
Read Goldberg's paper.
I suspect you have either a rounding issue
(hint, see Goldberg, the number 6 and your
input list) or whatever __builtin_powf maps
to on your system is broken? I lay my money
on the former.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40070