From a5fe041c968de453889e5c2ff612785c5dd43814 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 25 Oct 2000 17:19:53 +0000 Subject: Update. 2000-10-25 Jakub Jelinek * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): When converting struct flock64 to struct flock and back, use fcntl commands which work on struct flock. 2000-10-25 Jakub Jelinek * math/test-misc.c (main): Only check modfl if NO_LONG_DOUBLE is not defined. * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update. * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. --- math/test-misc.c | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'math') diff --git a/math/test-misc.c b/math/test-misc.c index 962e5f6..515277f 100644 --- a/math/test-misc.c +++ b/math/test-misc.c @@ -26,19 +26,20 @@ main (void) { int result = 0; - if (sizeof (long double) >= 12) - { - long double x = 0x100000001ll + (long double) 0.5; - long double q; - long double r; - - r = modfl (x, &q); - if (q != (long double) 0x100000001ll || r != 0.5) - { - printf ("modfl (%Lg, ...) failed\n", x); - result = 1; - } - } +#ifndef NO_LONG_DOUBLE + { + long double x = 0x100000001ll + (long double) 0.5; + long double q; + long double r; + + r = modfl (x, &q); + if (q != (long double) 0x100000001ll || r != 0.5) + { + printf ("modfl (%Lg, ...) failed\n", x); + result = 1; + } + } +#endif { double x = 0x100000001ll + (double) 0.5; -- cgit v1.1