Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!samsung!spool.mu.edu!news.nd.edu!mentor.cc.purdue.edu!seaman.cc.purdue.edu!ags From: ags@seaman.cc.purdue.edu (Dave Seaman) Newsgroups: comp.lang.fortran Subject: Re: f2c misbehaving? Message-ID: <12687@mentor.cc.purdue.edu> Date: 22 May 91 22:19:25 GMT References: <33089@usc> Sender: news@mentor.cc.purdue.edu Reply-To: ags@seaman.cc.purdue.edu (Dave Seaman) Organization: Purdue University Lines: 19 In article <33089@usc> ajayshah@alhena.usc.edu (Ajay Shah) writes: >Here are the two outputs. In this demo, nothing serious is >affected but it represents a difference between a fortran program >and a f2c translation. This makes using f2c in more complex >situations difficult. > > from f2c from f77 > > .4906713927148187177321-197 0.4906713927148187177321-197 [ many lines deleted ... ] Since you didn't say what difference you thought you saw, it is a little difficult to answer the question. The only obvious difference is that f77 provides the optional zero before the decimal point, and f2c omits it. Both are standard-conforming. -- Dave Seaman ags@seaman.cc.purdue.edu