Mercurial > hg > octave-lyh > gnulib-hg
changeset 16672:b35866abe7d5
log1p* tests: Reduce running time of tests.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 11 Mar 2012 03:21:42 +0100 |
parents | 8f278cd5523d |
children | 1afe25c8ab84 |
files | tests/test-log1p.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-log1p.h +++ b/tests/test-log1p.h @@ -81,8 +81,8 @@ #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);