X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-log1p.h;h=6c1db08e1ee2d6c3aafe611fc6e16a7e5c3fc551;hb=fa1db0dd22768f09a507674a30beb5b8a87bb35f;hp=30203e4eae0c8f2e1daa68b6ca6fc9ffa8b8cc37;hpb=f846e191ec7ffc638fc2ebbc6fdfa7f75e37d179;p=gnulib.git diff --git a/tests/test-log1p.h b/tests/test-log1p.h index 30203e4ea..6c1db08e1 100644 --- a/tests/test-log1p.h +++ b/tests/test-log1p.h @@ -1,5 +1,5 @@ /* Test of log1p*() 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 @@ -81,8 +81,8 @@ test_function (void) #endif : L_(61.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_(2.0); DOUBLE y = L_(17.0) / (L_(16.0) - L_(15.0) * RANDOM[j]) - L_(2.0);