diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-09-09 22:40:55 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-09-09 22:40:55 +0000 |
commit | adac8450947aa7963df1ff143fa64e6579a0f620 (patch) | |
tree | c6cc922ff494f53c3a265b027ded51417716c36d /math | |
parent | Pass pointer to _dl_main_searchlist not _dl_default_scope to _dl_init_next. (diff) | |
download | glibc-adac8450947aa7963df1ff143fa64e6579a0f620.tar.gz glibc-adac8450947aa7963df1ff143fa64e6579a0f620.tar.bz2 glibc-adac8450947aa7963df1ff143fa64e6579a0f620.zip |
Update.
1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
* math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
(csqrt_test): Likewise.
* sysdeps/powerpc/bits/fenv.h: Add parens. .
Diffstat (limited to 'math')
-rw-r--r-- | math/libm-test.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/math/libm-test.c b/math/libm-test.c index cc51485cd0..780880a0c5 100644 --- a/math/libm-test.c +++ b/math/libm-test.c @@ -58,7 +58,7 @@ ccos, ccosh, cexp, clog, cpow, csin, csinh, csqrt, ctan, ctanh. At the moment the following functions aren't tested: - conj, cproj, cimag, creal, drem, +OB conj, cproj, cimag, creal, drem, j0, j1, jn, y0, y1, yn, significand, nan @@ -1206,13 +1206,13 @@ exp10_test (void) check_isinfp ("exp10 (+inf) == +inf", FUNC(exp10) (plus_infty)); check ("exp10 (-inf) == 0", FUNC(exp10) (minus_infty), 0); check_eps ("exp10 (3) == 1000", FUNC(exp10) (3), 1000, - CHOOSE(5e-16, 0, 0)); + CHOOSE(5e-16, 7e-13, 2e-4)); check_eps ("exp10 (-1) == 0.1", FUNC(exp10) (-1), 0.1, - CHOOSE(6e-18, 0, 0)); + CHOOSE(6e-18, 3e-17, 8e-09)); check_isinfp ("exp10 (1e6) == +inf", FUNC(exp10) (1e6)); check ("exp10 (-1e6) == 0", FUNC(exp10) (-1e6), 0); check_eps ("exp10 (0.7) == 5.0118723...", FUNC(exp10) (0.7), - 5.0118723362727228500L, CHOOSE(6e-16, 9e-16, 0)); + 5.0118723362727228500L, CHOOSE(6e-16, 9e-16, 5e-7)); } @@ -5154,7 +5154,7 @@ csqrt_test (void) check_eps ("real(csqrt(0.7 + i 1.2)) == 1.02206...", __real__ result, 1.0220676100300264507L, CHOOSE(3e-17L, 3e-16, 2e-7)); check_eps ("imag(csqrt(0.7 + i 1.2)) == 0.58704...", __imag__ result, - 0.5870453129635652115L, CHOOSE(7e-18L, 0, 0)); + 0.5870453129635652115L, CHOOSE(7e-18L, 0, 6e-8)); result = FUNC(csqrt) (BUILD_COMPLEX (-2, -3)); check_eps ("real(csqrt(-2 - i 3)) == 0.89597...", __real__ result, |