aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-07-29 12:34:57 +0000
committerUlrich Drepper <drepper@redhat.com>1998-07-29 12:34:57 +0000
commitec986e237a6c0fe52f172c254d3da2ef57b85eb2 (patch)
treeb938227b19ad155bf8c5b5a9960b0ebba90c80a5 /math
parentceeeaa3dcf76e7bc68ad276a1a54d988bef58934 (diff)
downloadglibc-ec986e237a6c0fe52f172c254d3da2ef57b85eb2.zip
glibc-ec986e237a6c0fe52f172c254d3da2ef57b85eb2.tar.gz
glibc-ec986e237a6c0fe52f172c254d3da2ef57b85eb2.tar.bz2
Update.
1998-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> * 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 <schwab@issan.informatik.uni-dortmund.de> * 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 <drepper@cygnus.com> * 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 <moshier@mediaone.net>. * 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.
Diffstat (limited to 'math')
-rw-r--r--math/libm-test.c8
1 files changed, 7 insertions, 1 deletions
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));
}