From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id C9B253EA65 for ; Wed, 16 Oct 2002 15:24:26 -0400 (EDT) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id g9GJOQf03009 for axp-list@listman.redhat.com; Wed, 16 Oct 2002 15:24:26 -0400 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id g9GJOQf03005 for ; Wed, 16 Oct 2002 15:24:26 -0400 Received: from hammer.dls.net (hammer.dls.net [209.242.10.146]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g9GJ3jw15245 for ; Wed, 16 Oct 2002 15:03:45 -0400 Received: by mail.dls.net (MX V5.3 AnFj) id 5483; Wed, 16 Oct 2002 14:25:30 -0500 Date: Wed, 16 Oct 2002 14:25:28 -0500 From: Arkadiy Chapkis - Arc To: AXP-LIST@redhat.com Message-ID: <00A158A8.56FB1D1A.5483@mail.dls.net> Subject: g77 real size MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: 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 a=1. b=a+1./1e12 c=b-a write(*,*) c end compiled with g77 cuts off everything after 8 digits left of point. Since what's left are 8 zeros, the result is 0. I got the (almost) right result using Compaq fort with -real_size 64, but don't know that there's something equivalent in g77. Thank you in advance, Arc C. achapkis@dls.net