X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=inline;f=tests%2Ftest-sinl.c;h=8d69b26cee0ce83ed7c7fd8177522327c7b122a1;hb=9f737c8fda7811e7572c6c8525459a89ef27c7ef;hp=19e7e62ff8f2c9a214d1dd5745f8b88c8f3075eb;hpb=a074795946943ed56f5bf46578e6b8e3e7eeb63b;p=gnulib.git diff --git a/tests/test-sinl.c b/tests/test-sinl.c index 19e7e62ff..8d69b26ce 100644 --- a/tests/test-sinl.c +++ b/tests/test-sinl.c @@ -26,6 +26,7 @@ SIGNATURE_CHECK (sinl, 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 = sinl (0.6L); + x = 0.6L; + y = sinl (x); ASSERT (y >= 0.5646424733L && y <= 0.5646424734L); return 0;