X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-expm1.h;h=4b38494c3d8f934ad9918dcf7651306eab58803e;hb=a7f54e0c79aa1c7147cd409657c54245169f821f;hp=c73e798b00593d2d5a9dde60ee2fecbcac34372c;hpb=1dfc40fc5d4a95929926c750aac9dc33efe401fc;p=gnulib.git diff --git a/tests/test-expm1.h b/tests/test-expm1.h index c73e798b0..4b38494c3 100644 --- a/tests/test-expm1.h +++ b/tests/test-expm1.h @@ -55,7 +55,7 @@ test_function (void) { /* Error bound, in ulps. */ const DOUBLE err_bound = - (sizeof (DOUBLE) == sizeof (long double) ? + (sizeof (DOUBLE) > sizeof (double) ? #if defined __i386__ && defined __FreeBSD__ /* On FreeBSD/x86 6.4, the 'long double' type really has only 53 bits of precision in the compiler but 64 bits of precision at runtime. See @@ -84,7 +84,7 @@ test_function (void) { /* Error bound, in ulps. */ const DOUBLE err_bound = - (sizeof (DOUBLE) == sizeof (long double) ? + (sizeof (DOUBLE) > sizeof (double) ? #if defined __i386__ && defined __FreeBSD__ L_(1536.0) #else