Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libm Swap around the two last args to the check fo...
details: https://anonhg.NetBSD.org/src/rev/003535c7808d
branches: trunk
changeset: 825602:003535c7808d
user: he <he%NetBSD.org@localhost>
date: Mon Jul 24 18:13:36 2017 +0000
description:
Swap around the two last args to the check for expected fegetround(),
so the error message makes sense.
diffstat:
tests/lib/libm/t_fe_round.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r e6e27837e8f4 -r 003535c7808d tests/lib/libm/t_fe_round.c
--- a/tests/lib/libm/t_fe_round.c Mon Jul 24 14:17:11 2017 +0000
+++ b/tests/lib/libm/t_fe_round.c Mon Jul 24 18:13:36 2017 +0000
@@ -89,7 +89,7 @@
(fegetround() == values[i].round_mode),
"Didn't get the same rounding mode out!\n"
"(index %d) fed in %d rounding mode, got %d out\n",
- i, fegetround(), values[i].round_mode);
+ i, values[i].round_mode, fegetround());
}
}
Home |
Main Index |
Thread Index |
Old Index