Module Name: src
Committed By: christos
Date: Mon Aug 21 17:11:18 UTC 2017
Modified Files:
src/tests/lib/libm: t_fe_round.c
Log Message:
don't skip nexttoward for aarch64 and mips64
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/tests/lib/libm/t_fe_round.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/lib/libm/t_fe_round.c
diff -u src/tests/lib/libm/t_fe_round.c:1.8 src/tests/lib/libm/t_fe_round.c:1.9
--- src/tests/lib/libm/t_fe_round.c:1.8 Sun Aug 20 04:25:47 2017
+++ src/tests/lib/libm/t_fe_round.c Mon Aug 21 13:11:18 2017
@@ -168,9 +168,6 @@ ATF_TC_BODY(fe_nexttoward, tc)
double received;
int res;
-#if defined(_LP64) && (defined(__mips__) || defined(__arm__))
- ATF_CHECK_MSG(0, "nexttoward not supported yet on mips64 or aarch64");
-#else
for (unsigned int i = 0; i < __arraycount(values2); i++) {
received = nexttoward(values2[i].input, values2[i].toward);
if (values2[i].input < values2[i].toward) {
@@ -184,7 +181,6 @@ ATF_TC_BODY(fe_nexttoward, tc)
"input: %f (index %d): got %f, expected %f, res %d\n",
values2[i].input, i, received, values2[i].expected, res);
}
-#endif
}
ATF_TP_ADD_TCS(tp)