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

             Bug #: 52439
           Summary: Calculation of natural log
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: dtov...@hotmail.com


Created attachment 26788
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26788
simple fortran calculation of the natural logs mentioned in the description.
Among other files in the zip file, I included a batch file, executable and
output files.

using gfortran (4.7.0):
calculation of DLOG(0.01)  = -4.60517020833983359295871196081862
calculation of DLOG(100.0) =  4.60517018598809180218722758581862

Numbers should match except for the sign, the value for DLOG(0.01) also appears
outside a tolerance I expect to find.

using another a calculation routine with another compiler
calculation of DLOG(0.01)  = -4.605170185988091368035982909369
calculation of DLOG(100.0) =  4.605170185988091368035982909369

Reply via email to