From: Toon Moene <toon@moene.indiv.nluug.nl>
Subject: Re: Fortran compiler for Linux/Alpha
Date: Thu, 17 Oct 96 20:25:04 +0200 [thread overview]
Message-ID: <9610171825.AA01152@moene.indiv.nluug.nl> (raw)
> Just a follow-up that may be of interest to f2c users.
> The fortran code
> IMPLICIT DOUBLE PRECISION (A - H)
> c72=0.30901699437494742
> yields the following C code under f2c:
> static doublereal c72;
> c72 =(float).30901699437494742;
> Why "float"? However, the following fortran source fixes
> the problem:
> c72=DBLE(0.30901699437494742)
Indeed - the whys of this are explained in the g77 docs :-)
Chapter 14.5 "Certain Changes We Don't Want to Make" second item.
-mike
michael.donahue@nist.gov
^^^^ National Institute of Standards and Technology
^^^^^^^^^
Interesting ...
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com <
/dev/null
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
next reply other threads:[~1996-10-17 18:25 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-10-17 18:25 Toon Moene [this message]
[not found] <Pine.LNX.3.91.961016103053.15626A-100000@zen.linpro.no>
1996-10-16 21:50 ` Fortran compiler for Linux/Alpha Dwight Hogge
1996-10-16 22:56 ` Scott Locklin ESG
1996-10-21 8:16 ` Nigel Sale
[not found] <199610180524.BAA08287@rrdjazz.nist.gov>
1996-10-18 12:47 ` Ulf Griesmann
-- strict thread matches above, loose matches on Subject: below --
1996-10-18 5:24 Przemek Klosowski
1996-10-17 16:59 Craig Burley
1996-10-17 15:44 Michael J. Donahue
[not found] <199610162150.OAA23968@topanga.arete.com>
1996-10-17 12:15 ` Jim Nance
1996-10-17 17:41 ` Dwight Hogge
1996-10-17 18:39 ` Jim Nance
1996-10-16 23:18 Michael J. Donahue
1996-10-16 8:45 Robert Rødsten
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox