diff options
author | 2008-07-20 13:07:27 +0000 | |
---|---|---|
committer | 2008-07-20 13:07:27 +0000 | |
commit | 17d217fa2eec87d6eb388749b37dc3d926685a4e (patch) | |
tree | 79126e9187668b0095cc5ee9c949bdce77e20217 /lib/libm/src/s_expm1.c | |
parent | use more accurate algorithm for tan. from fdlibm 5.3: (diff) | |
download | wireguard-openbsd-17d217fa2eec87d6eb388749b37dc3d926685a4e.tar.xz wireguard-openbsd-17d217fa2eec87d6eb388749b37dc3d926685a4e.zip |
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/libm/src/s_expm1.c')
0 files changed, 0 insertions, 0 deletions