This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Re: [PATCH] Fix exp2* on very small values


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   `------------------------


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