X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ftest-log10.h;h=c28f4eea0d4d0187c706e433602f8119a8c14f44;hb=bbfcd2f1a92c9bdbb8d7d7d0a8a8c6665c316747;hp=fd0c918cf9622b787e10d200b93fa331b6913722;hpb=70b19129a5169b37d7ac24eab814387ed05a36a1;p=gnulib.git diff --git a/tests/test-log10.h b/tests/test-log10.h index fd0c918cf..c28f4eea0 100644 --- a/tests/test-log10.h +++ b/tests/test-log10.h @@ -1,5 +1,5 @@ /* Test of log10*() 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 @@ -85,8 +85,8 @@ test_function (void) #endif : L_(5.0)); - for (i = 0; i < SIZEOF (RANDOM); i++) - for (j = 0; j < SIZEOF (RANDOM); j++) + for (i = 0; i < SIZEOF (RANDOM) / 5; i++) + for (j = 0; j < SIZEOF (RANDOM) / 5; j++) { DOUBLE x = L_(17.0) / (L_(16.0) - L_(15.0) * RANDOM[i]) - L_(1.0); DOUBLE y = L_(17.0) / (L_(16.0) - L_(15.0) * RANDOM[j]) - L_(1.0);