aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-10-25 17:19:53 +0000
committerUlrich Drepper <drepper@redhat.com>2000-10-25 17:19:53 +0000
commita5fe041c968de453889e5c2ff612785c5dd43814 (patch)
treef912250f32bad18f262cfa2ff3e080cff3859565 /math/test-misc.c
parentUpdate. (diff)
downloadglibc-a5fe041c968de453889e5c2ff612785c5dd43814.tar.gz
glibc-a5fe041c968de453889e5c2ff612785c5dd43814.tar.bz2
glibc-a5fe041c968de453889e5c2ff612785c5dd43814.zip
Update.
2000-10-25 Jakub Jelinek <jakub@redhat.com> * 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 <jakub@redhat.com> * 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.
Diffstat (limited to 'math/test-misc.c')
-rw-r--r--math/test-misc.c27
1 files changed, 14 insertions, 13 deletions
diff --git a/math/test-misc.c b/math/test-misc.c
index 962e5f69de..515277f5ad 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;