Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sourceware.org
Subject: Re: [RFA] convert_doublest_to_floatformat: handle off-range values.
Date: Wed, 25 Jul 2012 18:31:00 -0000	[thread overview]
Message-ID: <20120725183132.GA2767@adacore.com> (raw)
In-Reply-To: <1339632037-5252-1-git-send-email-brobecker@adacore.com>

> gdb/ChangeLog:
> 
>         * doublest.c (convert_doublest_to_floatformat): If the exponent
>         is too small, treat the value as zero.  If the exponent is too
>         large, treat the value as infinity.

FYI: I checked this patch in. We could do even better (for really
small numbers), but I don't think I will have much time in the near
future and this patch isn't making things more difficult in that
respect. In the meantime, I think this is an improvement over
the previous situation.

-- 
Joel


      parent reply	other threads:[~2012-07-25 18:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-14  0:01 Joel Brobecker
2012-06-14  0:51 ` Joel Brobecker
2012-07-25 18:31 ` Joel Brobecker [this message]

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=20120725183132.GA2767@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.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