Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Nelson Brito <ntbrito@fc.up.pt>
To: axp-list@redhat.com
Subject: Re: g77 real size
Date: Thu, 17 Oct 2002 12:24:17 +0100 (WEST)	[thread overview]
Message-ID: <Pine.LNX.4.44.0210171222200.1991-100000@prodigio.fc.up.pt> (raw)
In-Reply-To: <00A158A8.56FB1D1A.5483@mail.dls.net>

On Wed, 16 Oct 2002, Arkadiy Chapkis - Arc wrote:

>   Hello everyone.
> 
>   Sorry for the off-topic, I just wonder if there's a switch for g77 to make a
> double precision number out of real fp number (not defined, used by default).
> The piece of code

you need to declare the variables to be double precision
like real*8  declares "like" as a double precision real!


nelson

-- 
Nelson Brito
Faculdade de Ciencias | tel. +351226082841
Universidade do Porto | fax  +351226082959
R. Campo Alegre, 687  |
4169-007 Porto        |




  reply	other threads:[~2002-10-17 10:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-16 19:25 g77 real size Arkadiy Chapkis - Arc
2002-10-17 11:24 ` Nelson Brito [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-10-16 21:21 Eugene Chu
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