From ec986e237a6c0fe52f172c254d3da2ef57b85eb2 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 29 Jul 1998 12:34:57 +0000 Subject: Update. 1998-07-29 Andreas Jaeger * manual/pattern.texi (More Flags for Globbing): Fix typo. * manual/math.texi (Special Functions): Fix typo. * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT): New constant from Linux 2.1.112. * posix/Makefile (install-lib): Compile libposix.a only if build-static == yes. 1998-07-28 Andreas Schwab * sysdeps/generic/glob.c: Maintain const correctness. Move extern declarations to file level. Cope with unsupported _SC_GETPW_R_SIZE_MAX. 1998-07-29 Ulrich Drepper * stdio-common/tst-printf.c: %z is now recognized by printf. * sysdeps/libm-ieee754/c_csqrt.c: Fix problems with some cancelation errors. * sysdeps/libm-ieee754/c_csqrtf.c: Likewise. * sysdeps/libm-ieee754/c_csqrtlc: Likewise. Patch by Stephen L Moshier . * math/libm-test.c (csqrt_test): Correct typo in one test, add another one. * sysdeps/unix/sysv/linux/bits/siginfo.h: Adjust siginfo_t after latest kernel change. --- math/libm-test.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'math/libm-test.c') diff --git a/math/libm-test.c b/math/libm-test.c index 95d285e..0490866 100644 --- a/math/libm-test.c +++ b/math/libm-test.c @@ -5157,10 +5157,16 @@ csqrt_test (void) 0.5870453129635652115L, CHOOSE(7e-18L, 0, 0)); result = FUNC(csqrt) (BUILD_COMPLEX (-2, -3)); - check_eps ("real(csqrt(-2 - i 3)) == -0.89597...", __real__ result, + check_eps ("real(csqrt(-2 - i 3)) == 0.89597...", __real__ result, 0.8959774761298381247L, CHOOSE(6e-20L, 2e-16, 6e-8)); check_eps ("imag(csqrt(-2 - i 3)) == -1.67414...", __imag__ result, -1.6741492280355400404L, CHOOSE(0, 5e-16, 0)); + + result = FUNC(csqrt) (BUILD_COMPLEX (-2, 3)); + check_eps ("real(csqrt(-2 + i 3)) == 0.89597...", __real__ result, + 0.8959774761298381247L, CHOOSE(6e-20L, 2e-16, 6e-8)); + check_eps ("imag(csqrt(-2 + i 3)) == 1.67414...", __imag__ result, + 1.6741492280355400404L, CHOOSE(0, 5e-16, 0)); } -- cgit v1.1