From: Orjan Friberg <orjan.friberg@axis.com>
To: gdb-patches@sources.redhat.com
Subject: Re: [RFA] testsuite/gdb.base/pointers.[c,exp]: don't assume >= 8 byte doubles
Date: Wed, 07 Mar 2001 09:39:00 -0000 [thread overview]
Message-ID: <3AA6724B.9CF1E184@axis.com> (raw)
In-Reply-To: <3AA51843.D64A0962@cygnus.com>
Fernando Nasser wrote:
>
> Orjan Friberg wrote:
> >
> > (This is a resubmission.) In pointers.c, a double D is assigned
> > -1.375E-123. This only fits if a double is (at least) 8 bytes. For a
> > 4-byte double you get an underflow. The pattern matching of the
> > decimals when printing the value of D also assumes it's >= 8 bytes. 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.
> >
> > Ok to commit?
> >
>
> Yes, I believe we discussed this long ago and all agreed that it was a sensible change.
>
> Thanks.
> Fernando
>
Committed. Thanks to Michael for reviewing and testing the patch.
BTW, the cvs commit messages for pointers.c and pointers.exp
accidentally got the 2001-02-26 date (which was when I submitted the
patch). I updated the date in the ChangeLog entry (and ChangeLog's cvs
commit message) though. Sorry about that.
--
Orjan Friberg E-mail: orjan.friberg@axis.com
Axis Communications AB Phone: +46 46 272 17 68
next prev parent reply other threads:[~2001-03-07 9:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-26 9:51 Orjan Friberg
2001-03-06 9:03 ` Fernando Nasser
2001-03-07 9:39 ` Orjan Friberg [this message]
2001-02-26 11:14 Michael Elizabeth Chastain
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=3AA6724B.9CF1E184@axis.com \
--to=orjan.friberg@axis.com \
--cc=gdb-patches@sources.redhat.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