diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-02-18 09:02:38 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-02-18 09:02:38 +0000 |
commit | 6571c5709af6e58e3b9a571fc6289be375a1ffe3 (patch) | |
tree | 132bbb604a697ea20c92a59631e9bcdbad5d3e81 /math | |
parent | 4ebacc5a6284e211976e14e016d1cf90ee2f3837 (diff) | |
download | glibc-6571c5709af6e58e3b9a571fc6289be375a1ffe3.tar.gz glibc-6571c5709af6e58e3b9a571fc6289be375a1ffe3.tar.xz glibc-6571c5709af6e58e3b9a571fc6289be375a1ffe3.zip |
Update.
2001-02-18 Ulrich Drepper <drepper@redhat.com> * math/libm-test.inc (pow_test): Correct expected results for x == +-1. * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly. * sysdeps/i386/fpu/e_powf.S: Likewise. * sysdeps/i386/fpu/e_powl.S: Likewise. * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code. * sysdeps/generic/e_exp2l.c: ...this. New file. * sysdeps/i386/fpu/e_exp2.S: ...this. New file. * sysdeps/i386/fpu/e_exp2f.S: ...this. New file. * sysdeps/i386/fpu/e_exp2l.S: ...this. New file. * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file. * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file. * sysdeps/m68k/fpu/e_exp2.c: ...this. New file. * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file. * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
Diffstat (limited to 'math')
-rw-r--r-- | math/libm-test.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc index 867efcd493..3928f412f8 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -3468,7 +3468,7 @@ pow_test (void) TEST_ff_f (pow, nan_value, nan_value, nan_value); TEST_ff_f (pow, 0, nan_value, nan_value); - TEST_ff_f (pow, 1, nan_value, nan_value); + TEST_ff_f (pow, 1, nan_value, 1); TEST_ff_f (pow, -1, nan_value, nan_value); TEST_ff_f (pow, nan_value, 1, nan_value); TEST_ff_f (pow, nan_value, -1, nan_value); @@ -3476,10 +3476,10 @@ pow_test (void) /* pow (x, NaN) == NaN. */ TEST_ff_f (pow, 3.0, nan_value, nan_value); - TEST_ff_f (pow, 1, plus_infty, nan_value, INVALID_EXCEPTION); - TEST_ff_f (pow, -1, plus_infty, nan_value, INVALID_EXCEPTION); - TEST_ff_f (pow, 1, minus_infty, nan_value, INVALID_EXCEPTION); - TEST_ff_f (pow, -1, minus_infty, nan_value, INVALID_EXCEPTION); + TEST_ff_f (pow, 1, plus_infty, 1); + TEST_ff_f (pow, -1, plus_infty, 1); + TEST_ff_f (pow, 1, minus_infty, 1); + TEST_ff_f (pow, -1, minus_infty, 1); TEST_ff_f (pow, -0.1L, 1.1L, nan_value, INVALID_EXCEPTION); TEST_ff_f (pow, -0.1L, -1.1L, nan_value, INVALID_EXCEPTION); |