Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libm don't skip nexttoward for aarch64 and mips64



details:   https://anonhg.NetBSD.org/src/rev/2d84f1267d56
branches:  trunk
changeset: 826213:2d84f1267d56
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Aug 21 17:11:18 2017 +0000

description:
don't skip nexttoward for aarch64 and mips64

diffstat:

 tests/lib/libm/t_fe_round.c |  4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diffs (21 lines):

diff -r 2b65017f469e -r 2d84f1267d56 tests/lib/libm/t_fe_round.c
--- a/tests/lib/libm/t_fe_round.c       Mon Aug 21 17:10:34 2017 +0000
+++ b/tests/lib/libm/t_fe_round.c       Mon Aug 21 17:11:18 2017 +0000
@@ -168,9 +168,6 @@
        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 @@
                        "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)



Home | Main Index | Thread Index | Old Index