>From b42edb720e438583c0d4a8ba6863fe1717dd7b75 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 5 May 2017 22:03:49 +0200 Subject: [PATCH 04/16] math-c++-tests: Update. * tests/test-math-c++.cc (fmaf): Declare, missing since 2011-10-17. (fma): Declare, missing since 2011-10-17. (fmal): Declare, missing since 2011-10-17. --- ChangeLog | 7 +++++++ tests/test-math-c++.cc | 38 ++++++++++++++++++++++++-------------- 2 files changed, 31 insertions(+), 14 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7e95842..c16d843 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2017-05-05 Bruno Haible + math-c++-tests: Update. + * tests/test-math-c++.cc (fmaf): Declare, missing since 2011-10-17. + (fma): Declare, missing since 2011-10-17. + (fmal): Declare, missing since 2011-10-17. + +2017-05-05 Bruno Haible + locale-c++-tests: Update. * tests/test-locale-c++.cc (localeconv): Declare, missing since 2012-03-25. diff --git a/tests/test-math-c++.cc b/tests/test-math-c++.cc index 69a5e1b..092e310 100644 --- a/tests/test-math-c++.cc +++ b/tests/test-math-c++.cc @@ -163,6 +163,17 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::floor, double, (double)); SIGNATURE_CHECK (GNULIB_NAMESPACE::floorl, long double, (long double)); #endif +#if GNULIB_TEST_FMAF +SIGNATURE_CHECK (GNULIB_NAMESPACE::fmaf, float, (float, float, float)); +#endif +#if GNULIB_TEST_FMA +SIGNATURE_CHECK (GNULIB_NAMESPACE::fma, double, (double, double, double)); +#endif +#if GNULIB_TEST_FMAL +SIGNATURE_CHECK (GNULIB_NAMESPACE::fmal, long double, + (long double, long double, long double)); +#endif + #if GNULIB_TEST_FMODF SIGNATURE_CHECK (GNULIB_NAMESPACE::fmodf, float, (float, float)); #endif @@ -221,6 +232,19 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::ldexpl, long double, (long double, int)); //SIGNATURE_CHECK (GNULIB_NAMESPACE::lgamma, double, (double)); +#if GNULIB_TEST_LOGF +SIGNATURE_CHECK (GNULIB_NAMESPACE::logf, float, (float)); +#endif +#if GNULIB_TEST_LOG +SIGNATURE_CHECK (GNULIB_NAMESPACE::log, double, (double)); +#endif +#if GNULIB_TEST_LOGL +SIGNATURE_CHECK (GNULIB_NAMESPACE::logl, long double, (long double)); +#endif + +#if GNULIB_TEST_LOG10F +SIGNATURE_CHECK (GNULIB_NAMESPACE::log10f, float, (float)); +#endif #if GNULIB_TEST_LOG10 SIGNATURE_CHECK (GNULIB_NAMESPACE::log10, double, (double)); #endif @@ -238,20 +262,6 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::log1p, double, (double)); SIGNATURE_CHECK (GNULIB_NAMESPACE::log1pl, long double, (long double)); #endif -#if GNULIB_TEST_LOGF -SIGNATURE_CHECK (GNULIB_NAMESPACE::logf, float, (float)); -#endif -#if GNULIB_TEST_LOG -SIGNATURE_CHECK (GNULIB_NAMESPACE::log, double, (double)); -#endif -#if GNULIB_TEST_LOGL -SIGNATURE_CHECK (GNULIB_NAMESPACE::logl, long double, (long double)); -#endif - -#if GNULIB_TEST_LOG10F -SIGNATURE_CHECK (GNULIB_NAMESPACE::log10f, float, (float)); -#endif - #if GNULIB_TEST_LOG2F SIGNATURE_CHECK (GNULIB_NAMESPACE::log2f, float, (float)); #endif -- 2.7.4