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]
Other format: [Raw text]

[Bug fortran/40070] Some math expressions containing exponents fail on a Windows 64 build



------- Comment #6 from dominiq at lps dot ens dot fr  2009-05-08 15:36 -------
Adding the print *, ... in the subroutines and mixing C and Fortran, I get:

   310.40363       0.0000000    
Function 1:
--------------------
result 1: 310.403625
result 2: 310.403625

   23223.025       0.0000000    
Function 2:
--------------------
result 1: 23223.025391
result 2: 23223.025391

   142007.84      1.56250000E-02  1.56250000E-02
Function 3:
--------------------
result 1: 142007.843750
result 2: 142007.828125

> I think default-real-kind on win64 could be 8

It would as weird as it was with Crays. default-real-kind is usually the
shortest float available, i.e. real(4) on intel procs.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40070


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