From: Michael Elizabeth Chastain <chastain@cygnus.com>
To: gdb-patches@sources.redhat.com, orjan.friberg@axis.com
Subject: Re: [RFA] testsuite/gdb.base/pointers.[c,exp]: don't assume >= 8 byte doubles
Date: Mon, 26 Feb 2001 11:14:00 -0000 [thread overview]
Message-ID: <200102261913.LAA05329@bosch.cygnus.com> (raw)
Hi Orjan,
I proofread this and tested it on a Red Hat 7 Linux native system.
It works for me.
> K&R says an acceptable minimum for FLT_MIN is 1E-37, so I decided to go
> with that and relaxed the decimal pattern matching to the same level as
> for floats.
ISO C standard section 5.2.4.2, "numerical limits", addresses this.
It says: "minimum normalized positive floating-point number:"
FLT_MIN 1e-37
DBL_MIN 1e-37
LDBL_MIN 1e-37
So I agree; it is legal for an implementation to implement
doubles as 32-bit IEEE 754 numbers.
> Ok to commit?
I recommend this patch for approval but I do not have approval power.
Fernando? Stan?
Michael
next reply other threads:[~2001-02-26 11:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-26 11:14 Michael Elizabeth Chastain [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-02-26 9:51 Orjan Friberg
2001-03-06 9:03 ` Fernando Nasser
2001-03-07 9:39 ` Orjan Friberg
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=200102261913.LAA05329@bosch.cygnus.com \
--to=chastain@cygnus.com \
--cc=gdb-patches@sources.redhat.com \
--cc=orjan.friberg@axis.com \
/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