mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-22 04:01:57 +03:00
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.
This commit is contained in:
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user