This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/52439] New: Calculation of natural log
- From: "dtovson at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 29 Feb 2012 19:03:44 +0000
- Subject: [Bug fortran/52439] New: Calculation of natural log
- Auto-submitted: auto-generated
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: unassigned@gcc.gnu.org
ReportedBy: dtovson@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