X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-sinl.c;h=47c8741f84c99866eb180ffdb48c56341fb5a63d;hb=26535571c14933f11ad56adca51cf11410bf9c52;hp=19e7e62ff8f2c9a214d1dd5745f8b88c8f3075eb;hpb=a074795946943ed56f5bf46578e6b8e3e7eeb63b;p=gnulib.git diff --git a/tests/test-sinl.c b/tests/test-sinl.c index 19e7e62ff..47c8741f8 100644 --- a/tests/test-sinl.c +++ b/tests/test-sinl.c @@ -1,5 +1,5 @@ /* Test of sinl() 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 (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;