1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00
1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>

	* sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll().
	* sysdeps/unix/sysv/linux/pread64.c: Likewise.
	* sysdeps/unix/sysv/linux/pwrite.c: Likewise.
	* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.

1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>

	* sysdeps/powerpc/Makefile: Use -G0 on the startup file; this
	makes it easier to undump emacs.
	* sysdeps/powerpc/bits/endian.h: Use more informative error message
	for when the endianness can't be determined.

1998-06-04 13:19  Geoff Keating  <geoffk@ozemail.com.au>

	* nss/Makefile: Add files publickey database support.
	* nss/libnss_files.map: Export the required functions.
	* nss/nss_files/files-key.c: Implement it.
	* sunrpc/rpc/auth_des.h: Correct typos in comments.
This commit is contained in:
Ulrich Drepper
1998-06-11 11:32:21 +00:00
parent bbbad73229
commit 36ecfe5690
12 changed files with 200 additions and 14 deletions

View File

@ -42,7 +42,7 @@
/* This program isn't finished yet.
It has tests for:
acos, acosh, asin, asinh, atan, atan2, atanh,
cbrt, ceil, copysign, cos, cosh, erf, erfc, exp, exp2, expm1,
cbrt, ceil, copysign, cos, cosh, erf, erfc, exp, exp10, exp2, expm1,
fabs, fdim, floor, fma, fmax, fmin, fmod, fpclassify,
frexp, gamma, hypot,
ilogb, isfinite, isinf, isnan, isnormal,
@ -1191,6 +1191,31 @@ exp_test (void)
}
static void
exp10_test (void)
{
errno = 0;
FUNC(exp10) (0);
if (errno == ENOSYS)
/* Function not implemented. */
return;
check ("exp10 (+0) == 1", FUNC(exp10) (0), 1);
check ("exp10 (-0) == 1", FUNC(exp10) (minus_zero), 1);
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));
check_eps ("exp10 (-1) == 0.1", FUNC(exp10) (-1), 0.1,
CHOOSE(6e-18, 0, 0));
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));
}
static void
exp2_test (void)
{
@ -5956,6 +5981,7 @@ main (int argc, char *argv[])
/* exponential and logarithmic functions */
exp_test ();
exp10_test ();
exp2_test ();
expm1_test ();
frexp_test ();