public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Stephen L Moshier <steve@moshier.net>
To: gcc@gcc.gnu.org
Subject: floating point decimal to binary conversion errors
Date: Thu, 03 Oct 2002 14:55:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.44.0210031646480.22073-100000@moshier.net> (raw)


The method that gcc uses to convert decimal strings to floating point
binary numbers has been changed.  A cursory test shows differences
that did not occur before.  gcc previously had high enough accuracy
to get powers of ten correct.

Compiled value of 1.0e-4667
036f79d3 a800edaa ca757023 547080fa  (quad precision, sparc)
should be
036f79d3 a800edaa ca757023 547080f9

Compiled value of 1.0e3426
6c73e648 82f8b0f7 3d9f3d45 c00ced47
should be
6c73e648 82f8b0f7 3d9f3d45 c00ced48

Compiled value of 1.0e3952
73473284 c586d770 4095c912 924c3ab8
should be
73473284 c586d770 4095c912 924c3ab9

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

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-03 14:55 Stephen L Moshier [this message]
2002-10-03 17:50 ` Richard Henderson

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=Pine.LNX.4.44.0210031646480.22073-100000@moshier.net \
    --to=steve@moshier.net \
    --cc=gcc@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).