[PATCH] Fix exp2* on very small values

Ulrich Drepper drepper@redhat.com
Wed Jun 6 06:11:00 GMT 2001


Jakub Jelinek <jakub@redhat.com> writes:

> The exp2* wrappers would signal underflow too early (they should do so when
> real underflow happens, not when the returned value would be denormal), on
> the other side __ieee754_exp* had the low threshold too small (arguments
> <= 2^(*_MIN_EXP - *_MANT_DIG - 1) underflow, while the code was testing
> arguments < 2^(*_MIN_EXP - *_MANT_DIG - 2)).

Seems OK.  Thanks,

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



More information about the Libc-hacker mailing list