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 [EMAIL PROTECTED]