* tests/test-pow.c (main): Assign arguments to x and y before use.
2011-10-08 Bruno Haible <bruno@clisp.org>
+ pow tests: Defeat compiler optimizations.
+ * tests/test-pow.c (main): Assign arguments to x and y before use.
+
+2011-10-08 Bruno Haible <bruno@clisp.org>
+
gnulib-tool: Improve last commit.
* gnulib-tool (func_modules_transitive_closure): Simplify code.
(func_emit_autoconf_snippets): Instead of invoking func_acceptable,
main ()
{
/* A particular value. */
- z = pow (243.0, 1.2);
+ x = 243.0;
+ y = 1.2;
+ z = pow (x, y);
ASSERT (z >= 728.9999999 && z <= 729.0000001);
return 0;