summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-12-23 09:11:18 +0000
committerngie <ngie@FreeBSD.org>2015-12-23 09:11:18 +0000
commit8061f8577d151919ee17f62f2b9004e64c566140 (patch)
treee07ae3de905963d9089758ca3fa251b60b311b87 /lib
parent43751a0881902cc85123be68a622bdb3baa32e7a (diff)
downloadFreeBSD-src-8061f8577d151919ee17f62f2b9004e64c566140.zip
FreeBSD-src-8061f8577d151919ee17f62f2b9004e64c566140.tar.gz
Use j instead of a hardcoded index (9) and increment it after
running the NaNs testcases MFC after: 3 days Pointyhat to: ngie Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'lib')
-rw-r--r--lib/msun/tests/fma_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/msun/tests/fma_test.c b/lib/msun/tests/fma_test.c
index af7910e..dfcea2a 100644
--- a/lib/msun/tests/fma_test.c
+++ b/lib/msun/tests/fma_test.c
@@ -507,7 +507,8 @@ main(int argc, char *argv[])
fesetround(FE_TONEAREST);
test_nans();
- printf("ok 9 - fma NaNs\n");
+ printf("ok %d - fma NaNs\n", j);
+ j++;
for (i = 0; i < nitems(rmodes); i++, j++) {
printf("rmode = %d\n", rmodes[i]);
OpenPOWER on IntegriCloud