X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-logl.c;h=357df92de2bdbd7bbd32dabf6cfba636a22075b2;hb=880d107;hp=12bf62425d0c280c543ddd856b9f7ef1910d0c8b;hpb=6b91d7e06d63c3d4a34db6c898d133812169a8ff;p=gnulib.git diff --git a/tests/test-logl.c b/tests/test-logl.c index 12bf62425..357df92de 100644 --- a/tests/test-logl.c +++ b/tests/test-logl.c @@ -26,6 +26,7 @@ SIGNATURE_CHECK (logl, 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 = logl (0.6L); + x = 0.6L; + y = logl (x); ASSERT (y >= -0.5108256238L && y <= -0.5108256237L); return 0;