This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MPFR 2.3.1 Release Candidate


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]