X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-floorf2.c;h=b26a508351d875fb38177d05ebdce6e318fff3e2;hb=880d107;hp=573a648ea1879eba106945eadd1ffe442d135d3d;hpb=8d8eda4eab3d2801251daf4eb31756c3595e2fc6;p=gnulib.git diff --git a/tests/test-floorf2.c b/tests/test-floorf2.c index 573a648ea..b26a50835 100644 --- a/tests/test-floorf2.c +++ b/tests/test-floorf2.c @@ -16,6 +16,9 @@ /* Written by Bruno Haible , 2007. */ +/* When this test fails on some platform, build it together with the gnulib + module 'fprintf-posix' for optimal debugging output. */ + #include #include @@ -119,8 +122,10 @@ check (float x) return 0; else { +#if GNULIB_TEST_FPRINTF_POSIX fprintf (stderr, "floorf %g(%a) = %g(%a) or %g(%a)?\n", x, x, reference, reference, result, result); +#endif return 1; } }