Mercurial > hg > octave-lyh > gnulib-hg
changeset 16572:7f3a9da7d85d
sqrt* tests: Rename local variable.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 05 Mar 2012 03:20:34 +0100 |
parents | 8e8c9d0c02cb |
children | 99dddd1393e9 |
files | tests/test-sqrt.h |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-sqrt.h +++ b/tests/test-sqrt.h @@ -34,10 +34,10 @@ { DOUBLE x = L_(16.0) * RANDOM[i]; /* 0.0 <= x <= 16.0 */ DOUBLE y = SQRT (x); - DOUBLE z = y * y - x; + DOUBLE err = y * y - x; ASSERT (y >= L_(0.0)); - ASSERT (z > - L_(16.0) / TWO_MANT_DIG - && z < L_(16.0) / TWO_MANT_DIG); + ASSERT (err > - L_(16.0) / TWO_MANT_DIG + && err < L_(16.0) / TWO_MANT_DIG); } for (i = 0; i < SIZEOF (RANDOM) / 4; i++)