X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-pow.c;h=1be85fa3e86462246f2688f033fca8a2c0f17a76;hb=dd91a295844a6e89ce67087164ea0f2e979b4b70;hp=629b90874e1c08979398baf9f58f94fd7334cb1a;hpb=d60f3b0c6b0f93a601acd1cfd3923f94ca05abb0;p=gnulib.git diff --git a/tests/test-pow.c b/tests/test-pow.c index 629b90874..1be85fa3e 100644 --- a/tests/test-pow.c +++ b/tests/test-pow.c @@ -1,5 +1,5 @@ /* Test of pow() function. - Copyright (C) 2010-2011 Free Software Foundation, Inc. + Copyright (C) 2010-2012 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 @@ -33,7 +33,9 @@ int 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;