public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Emil Block <blime@his.com>
To: gcc-help@gcc.gnu.org
Subject: [Fwd: Formatted Read Accuracy]
Date: Wed, 09 Oct 2002 11:34:00 -0000	[thread overview]
Message-ID: <3DA4763E.626DB3AD@his.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]

 

[-- Attachment #2: Type: message/rfc822, Size: 1095 bytes --]

From: Emil Block <blime@his.com>
To: kisa@centropolisfx.com
Subject: Re: Formatted Read Accuracy
Date: Wed, 09 Oct 2002 14:00:35 -0400
Message-ID: <3DA46EC3.F332AA1A@his.com>

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

             reply	other threads:[~2002-10-09 18:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-09 11:34 Emil Block [this message]
2002-10-09 11:43 ` Eljay Love-Jensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3DA4763E.626DB3AD@his.com \
    --to=blime@his.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).