[Bug fortran/19443] log10 statement does not work properly in gfortran

sgk at troutmask dot apl dot washington dot edu gcc-bugzilla@gcc.gnu.org
Mon Jan 31 04:38:00 GMT 2005


------- Additional Comments From sgk at troutmask dot apl dot washington dot edu  2005-01-31 04:38 -------
Paul,

Your code on i386-*-freebsd produces 

kargl[233] ./log
 log with real*4 ......  -115.1292      -115.1293    
 log with real*8 ......  -115.129254649702       -115.129254649702     
 log10 with real*4 ....  -50.00000      -50.00000    
 log10 with real*8 ....  -50.0000000000000       -50.0000000000000     
kargl[234] gfc -o log -O2 log.f90
kargl[235] ./log
 log with real*4 ......  -115.1292      -115.1293    
 log with real*8 ......  -115.129254649702       -115.129254649702     
 log10 with real*4 ....  -50.00000      -50.00000    
 log10 with real*8 ....  -50.0000000000000       -50.0000000000000     

This is probably target specific.

-- 


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



More information about the Gcc-bugs mailing list