mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
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.
This commit is contained in:
@ -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;
|
||||
#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;
|
||||
}
|
||||
}
|
||||
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;
|
||||
|
Reference in New Issue
Block a user