X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-atanl.c;h=6044fb2448b4da252dd2f2765844b6c8a9d6b409;hb=25b6b5120113989e0b91de9d0b75d3d625bbc753;hp=e78e82327325c8d3522d1ad1aa9bb41dcf4f06d1;hpb=1fd918676513b8e587920ca8a8ddae19c05e0e53;p=gnulib.git diff --git a/tests/test-atanl.c b/tests/test-atanl.c index e78e82327..6044fb244 100644 --- a/tests/test-atanl.c +++ b/tests/test-atanl.c @@ -1,5 +1,5 @@ /* Test of atanl() function. - Copyright (C) 2010 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 @@ -26,6 +26,7 @@ SIGNATURE_CHECK (atanl, long double, (long double)); #include "fpucw.h" #include "macros.h" +volatile long double x; long double y; int @@ -36,7 +37,8 @@ main () BEGIN_LONG_DOUBLE_ROUNDING (); /* A particular value. */ - y = atanl (0.6L); + x = 0.6L; + y = atanl (x); ASSERT (y >= 0.5404195002L && y <= 0.5404195003L); return 0;