aboutsummaryrefslogtreecommitdiff
path: root/math/libm-test-catanh.inc
diff options
context:
space:
mode:
Diffstat (limited to 'math/libm-test-catanh.inc')
-rw-r--r--math/libm-test-catanh.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/math/libm-test-catanh.inc b/math/libm-test-catanh.inc
index 321a0bd200..6ec6fbad64 100644
--- a/math/libm-test-catanh.inc
+++ b/math/libm-test-catanh.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_c_c_data catanh_test_data[] =
{
TEST_c_c (catanh, 1.0L, plus_zero, plus_infty, plus_zero, DIVIDE_BY_ZERO_EXCEPTION),
@@ -76,6 +78,12 @@ catanh_test (void)
ALL_RM_TEST (catanh, 0, catanh_test_data, RUN_TEST_LOOP_c_c, END_COMPLEX);
}
+static void
+do_test (void)
+{
+ catanh_test ();
+}
+
/*
* Local Variables:
* mode:c