diff options
author | Martynas Venckus <martynas@cvs.openbsd.org> | 2008-07-20 13:07:28 +0000 |
---|---|---|
committer | Martynas Venckus <martynas@cvs.openbsd.org> | 2008-07-20 13:07:28 +0000 |
commit | ade623d53c24e8ebcb8bc0e6a24ba8056aab540b (patch) | |
tree | fb3978fe77ab44020da58f28fad13dabe69b2505 /lib/libarch | |
parent | 7a60109f33a5d8efd3fccf2ceb462858b73af505 (diff) |
get in the bug fix for pow, from fdlibm 5.3. also adapt it for
powf, the float version of it
> 1. e_pow.c incorrect results when
> x is very close to -1.0 and y is very large, e.g.
> pow(-1.0000000000000002e+00,4.5035996273704970e+15) = 0
> pow(-9.9999999999999978e-01,4.5035996273704970e+15) = 0
> Correct results are close to -e and -1/e.
while here merge more changes for pow, fixes sign in oflow/uflow
cases
ok millert@
Diffstat (limited to 'lib/libarch')
0 files changed, 0 insertions, 0 deletions