From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19241 invoked by alias); 9 Oct 2002 18:34:52 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 19233 invoked from network); 9 Oct 2002 18:34:50 -0000 Received: from unknown (HELO smtp-2.his.com) (216.194.225.88) by sources.redhat.com with SMTP; 9 Oct 2002 18:34:50 -0000 Received: from mail.his.com (root@mail.his.com [216.194.225.77]) by smtp-2.his.com (8.12.3/8.12.3) with ESMTP id g99IYo1U024563 for ; Wed, 9 Oct 2002 14:34:50 -0400 (EDT) (envelope-from blime@his.com) Received: from his.com (max1ka-33.his.com [216.194.229.33]) by mail.his.com (8.11.6/8.10.1) with ESMTP id g99IYnN11319 for ; Wed, 9 Oct 2002 14:34:49 -0400 (EDT) Message-ID: <3DA4763E.626DB3AD@his.com> Date: Wed, 09 Oct 2002 11:34:00 -0000 From: Emil Block Organization: Blime Incorporated X-Accept-Language: en MIME-Version: 1.0 To: gcc-help@gcc.gnu.org Subject: [Fwd: Formatted Read Accuracy] Content-Type: multipart/mixed; boundary="------------F351EAAA75B8ED4FC5081EC6" X-SW-Source: 2002-10/txt/msg00091.txt.bz2 This is a multi-part message in MIME format. --------------F351EAAA75B8ED4FC5081EC6 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-length: 1 --------------F351EAAA75B8ED4FC5081EC6 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline Content-length: 1075 X-Mozilla-Status2: 00000000 Message-ID: <3DA46EC3.F332AA1A@his.com> Date: Wed, 09 Oct 2002 14:00:35 -0400 From: Emil Block Organization: Blime Incorporated X-Mailer: Mozilla 4.79 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: kisa@centropolisfx.com Subject: Re: Formatted Read Accuracy References: <3DA43F4E.CC8DF6AC@his.com> <3DA46457.E7E67334@centropolisfx.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-length: 591 Gokhan Kisacikoglu wrote: > > > input xllt is 67.9936 and it becomes 67.9935989 > > > > These happen because of floating point accuracy, it has nothing to do > with the reader or your format statement. Certain numbers can not be > accurately represented with float numbers (even with double > precision)... > > Good luck, > -kisa I don't understand -- the numbers are correctly read with the F77 compiler used on the same source code. This is only one example of hundreds of numbers that are read and G77 adds change in the fifth thru seventh decimal places on all of them. Blime --------------F351EAAA75B8ED4FC5081EC6--