public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Kaveh R. GHAZI" <ghazi@caip.rutgers.edu>
To: Vincent Lefevre <vincent+gcc@vinc17.org>
Cc: gcc@gcc.gnu.org
Subject: Re: MPFR 2.3.1 Release Candidate
Date: Fri, 04 Jan 2008 02:54:00 -0000	[thread overview]
Message-ID: <Pine.GSO.4.58.0801032142560.27069@caipclassic.rutgers.edu> (raw)
In-Reply-To: <20080102120837.GG1096@prunille.vinc17.org>

On Wed, 2 Jan 2008, Vincent Lefevre wrote:

> See the new bug fixed in r5162 (for the 2.3 branch). mpfr_gamma on
> -1000000001.5 will give you -0 instead of +0.

So I tried that, but mpfr_gamma on that value sets the global underflow
flag.  If overflow/underflow are set by mpfr, GCC will intentionally
bypass folding.  So this particular case is not something I can use.

I don't know if this mpfr case should be setting the underflow flag or if
it's a bug.  Calling the glibc tgamma doesn't seem to think it underflowed
when looking at fetestexcept().

		--Kaveh
--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu

  reply	other threads:[~2008-01-04  2:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-29 20:07 Vincent Lefevre
2007-12-29 20:10 ` Dennis Clarke
2007-12-29 20:14   ` Dave Korn
2007-12-29 22:01     ` Dennis Clarke
2007-12-29 23:03     ` Vincent Lefevre
2008-01-01  5:17       ` Vincent Lefevre
2007-12-31 22:44 ` Kaveh R. GHAZI
2008-01-01  5:08   ` Vincent Lefevre
2008-01-02  6:07     ` Kaveh R. GHAZI
2008-01-02 12:13       ` Vincent Lefevre
2008-01-04  2:54         ` Kaveh R. GHAZI [this message]
2008-01-04  8:06           ` Vincent Lefevre

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.GSO.4.58.0801032142560.27069@caipclassic.rutgers.edu \
    --to=ghazi@caip.rutgers.edu \
    --cc=gcc@gcc.gnu.org \
    --cc=vincent+gcc@vinc17.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).