X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-acosl.c;h=44c114543b1dfb3d16f017c3e86187ee1276b348;hb=20f47607a28df95cd7594b1a1f982a1d8563d8d2;hp=5f9591974568ccc1a2cb52dab3ed180e777136d6;hpb=f86a6072003472ccd3480f13d2a05e3a6eee4b55;p=gnulib.git diff --git a/tests/test-acosl.c b/tests/test-acosl.c index 5f9591974..44c114543 100644 --- a/tests/test-acosl.c +++ b/tests/test-acosl.c @@ -1,5 +1,5 @@ /* Test of acosl() function. - Copyright (C) 2010 Free Software Foundation, Inc. + Copyright (C) 2010-2013 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 (acosl, 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 = acosl (0.6L); + x = 0.6L; + y = acosl (x); ASSERT (y >= 0.9272952180L && y <= 0.9272952181L); return 0;