diff options
Diffstat (limited to 'math/libm-test-log1p.inc')
-rw-r--r-- | math/libm-test-log1p.inc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/math/libm-test-log1p.inc b/math/libm-test-log1p.inc index 67ad03f..bcac6ff 100644 --- a/math/libm-test-log1p.inc +++ b/math/libm-test-log1p.inc @@ -40,10 +40,22 @@ log1p_test (void) ALL_RM_TEST (log1p, 0, log1p_test_data, RUN_TEST_LOOP_f_f, END); } +#if !TEST_MATHVEC +static void +logp1_test (void) +{ + /* logp1 uses the same test data as log1p. */ + ALL_RM_TEST (logp1, 0, log1p_test_data, RUN_TEST_LOOP_f_f, END); +} +#endif + static void do_test (void) { log1p_test (); +#if !TEST_MATHVEC + logp1_test (); +#endif } /* |