X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-exp.h;h=cb0ca1a6a6a2b9a3fca38058adfeacba06645595;hb=c9451e3bdc651a742f06b46a450497e59bb5e006;hp=c2609b72db315aec0f7b957f690ea455cde08396;hpb=2d91a71b4af88ffea2bf5cf9a18e2f803ecba537;p=gnulib.git diff --git a/tests/test-exp.h b/tests/test-exp.h index c2609b72d..cb0ca1a6a 100644 --- a/tests/test-exp.h +++ b/tests/test-exp.h @@ -1,5 +1,5 @@ /* Test of exp*() function family. - Copyright (C) 2012 Free Software Foundation, Inc. + Copyright (C) 2012-2013 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 @@ -33,7 +33,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 @@ -62,7 +62,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_(2400.0) #else