X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-log.h;h=72c0cbe5215fe70ebf78f19e1b97806b9bd3b389;hb=1276a2c5f24c0c932426aca9c899fa524d2443f2;hp=65ae8336414c8dcac1db4c059b7f8cf0143a75a1;hpb=f0a69e44056aec6cbe3923a205153c25ac27b910;p=gnulib.git diff --git a/tests/test-log.h b/tests/test-log.h index 65ae83364..72c0cbe52 100644 --- a/tests/test-log.h +++ b/tests/test-log.h @@ -1,5 +1,5 @@ /* Test of log*() function family. - Copyright (C) 2012 Free Software Foundation, Inc. + Copyright (C) 2012-2014 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -43,7 +43,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 @@ -72,7 +72,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