aboutsummaryrefslogtreecommitdiff
path: root/math/libm-test-remainder.inc
diff options
context:
space:
mode:
Diffstat (limited to 'math/libm-test-remainder.inc')
-rw-r--r--math/libm-test-remainder.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/math/libm-test-remainder.inc b/math/libm-test-remainder.inc
index 828e94e..ddeba66 100644
--- a/math/libm-test-remainder.inc
+++ b/math/libm-test-remainder.inc
@@ -16,6 +16,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include "libm-test-driver.c"
+
static const struct test_ff_f_data remainder_test_data[] =
{
TEST_ff_f (remainder, 1, 0, qnan_value, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
@@ -186,6 +188,13 @@ drem_test (void)
ALL_RM_TEST (drem, 1, remainder_test_data, RUN_TEST_LOOP_ff_f, END);
}
+static void
+do_test (void)
+{
+ remainder_test ();
+ drem_test ();
+}
+
/*
* Local Variables:
* mode:c