X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-asinl.c;h=d7a38d24f139fda3eb112075629972c0fae63fdd;hb=5e5009f839875220d5dec7abdf5cf53d919f4d42;hp=811f2d0ded024f43f6ff81517cf6459517c7dfb3;hpb=30cd07fada4e1c27ca3da633531df9d45066b04a;p=gnulib.git diff --git a/tests/test-asinl.c b/tests/test-asinl.c index 811f2d0de..d7a38d24f 100644 --- a/tests/test-asinl.c +++ b/tests/test-asinl.c @@ -1,5 +1,5 @@ /* Test of asinl() function. - Copyright (C) 2010 Free Software Foundation, Inc. + Copyright (C) 2010-2011 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 (asinl, 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 = asinl (0.6L); + x = 0.6L; + y = asinl (x); ASSERT (y >= 0.6435011087L && y <= 0.6435011088L); return 0;