+2011-11-20 Bruno Haible <bruno@clisp.org>
+
+ fma tests: Avoid shadowing local variables.
+ * tests/test-fma2.h (test_function): Reduce scope of x, y, z, result,
+ expected.
+
2011-11-20 Bruno Haible <bruno@clisp.org>
copysignf tests: Fix.
L_(1.0), - L_(1.0), L_(1.0), - L_(1.0),
L_(1.0), - L_(1.0), L_(1.0), - L_(1.0)
};
- volatile DOUBLE x;
- volatile DOUBLE y;
- volatile DOUBLE z;
- volatile DOUBLE result;
- volatile DOUBLE expected;
/* A product x * y that consists of two bits. */
{
+ volatile DOUBLE x;
+ volatile DOUBLE y;
+ volatile DOUBLE z;
+ volatile DOUBLE result;
+ volatile DOUBLE expected;
int xs;
int xe;
int ys;
}
/* A product x * y that consists of three bits. */
{
+ volatile DOUBLE x;
+ volatile DOUBLE y;
+ volatile DOUBLE z;
+ volatile DOUBLE result;
+ volatile DOUBLE expected;
int i;
int xs;
int xe;
/* A product x * y that consists of one segment of bits (or, if you prefer,
two bits, one with positive weight and one with negative weight). */
{
+ volatile DOUBLE x;
+ volatile DOUBLE y;
+ volatile DOUBLE z;
+ volatile DOUBLE result;
+ volatile DOUBLE expected;
int i;
int xs;
int xe;