X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-math-c%2B%2B.cc;h=5e9d4bc66fe3eea9d5ed114b31bc6ac7fd4dcb72;hb=e103887cbe53070d92acbf502f7922f3515705fc;hp=67d7f71c0605808874d5ad250197b8a573230641;hpb=bb09133116a45861827711f5e8faf2c82b98c552;p=gnulib.git diff --git a/tests/test-math-c++.cc b/tests/test-math-c++.cc index 67d7f71c0..5e9d4bc66 100644 --- a/tests/test-math-c++.cc +++ b/tests/test-math-c++.cc @@ -24,12 +24,27 @@ #include "signature.h" +#if GNULIB_TEST_ACOSF +SIGNATURE_CHECK (GNULIB_NAMESPACE::acosf, float, (float)); +#endif //SIGNATURE_CHECK (GNULIB_NAMESPACE::acos, double, (double)); +#if GNULIB_TEST_ASINF +SIGNATURE_CHECK (GNULIB_NAMESPACE::asinf, float, (float)); +#endif //SIGNATURE_CHECK (GNULIB_NAMESPACE::asin, double, (double)); +#if GNULIB_TEST_ATANF +SIGNATURE_CHECK (GNULIB_NAMESPACE::atanf, float, (float)); +#endif //SIGNATURE_CHECK (GNULIB_NAMESPACE::atan, double, (double)); +#if GNULIB_TEST_ATAN2F +SIGNATURE_CHECK (GNULIB_NAMESPACE::atan2f, float, (float, float)); +#endif //SIGNATURE_CHECK (GNULIB_NAMESPACE::atan2, double, (double, double)); //SIGNATURE_CHECK (GNULIB_NAMESPACE::cbrt, double, (double)); //SIGNATURE_CHECK (GNULIB_NAMESPACE::copysign, double, (double, double)); +#if GNULIB_TEST_COSF +SIGNATURE_CHECK (GNULIB_NAMESPACE::cosf, float, (float)); +#endif //SIGNATURE_CHECK (GNULIB_NAMESPACE::cos, double, (double)); //SIGNATURE_CHECK (GNULIB_NAMESPACE::cosh, double, (double)); //SIGNATURE_CHECK (GNULIB_NAMESPACE::erf, double, (double)); @@ -76,15 +91,27 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::modff, float, (float, float *)); #endif //SIGNATURE_CHECK (GNULIB_NAMESPACE::modf, double, (double, double *)); //SIGNATURE_CHECK (GNULIB_NAMESPACE::nextafter, double, (double, double)); +#if GNULIB_TEST_POWF +SIGNATURE_CHECK (GNULIB_NAMESPACE::powf, float, (float, float)); +#endif //SIGNATURE_CHECK (GNULIB_NAMESPACE::pow, double, (double, double)); //SIGNATURE_CHECK (GNULIB_NAMESPACE::remainder, double, (double, double)); //SIGNATURE_CHECK (GNULIB_NAMESPACE::rint, double, (double)); +#if GNULIB_TEST_SINF +SIGNATURE_CHECK (GNULIB_NAMESPACE::sinf, float, (float)); +#endif //SIGNATURE_CHECK (GNULIB_NAMESPACE::sin, double, (double)); +#if GNULIB_TEST_SINHF +SIGNATURE_CHECK (GNULIB_NAMESPACE::sinhf, float, (float)); +#endif //SIGNATURE_CHECK (GNULIB_NAMESPACE::sinh, double, (double)); #if GNULIB_TEST_SQRTF SIGNATURE_CHECK (GNULIB_NAMESPACE::sqrtf, float, (float)); #endif //SIGNATURE_CHECK (GNULIB_NAMESPACE::sqrt, double, (double)); +#if GNULIB_TEST_TANF +SIGNATURE_CHECK (GNULIB_NAMESPACE::tanf, float, (float)); +#endif //SIGNATURE_CHECK (GNULIB_NAMESPACE::tan, double, (double)); //SIGNATURE_CHECK (GNULIB_NAMESPACE::tanh, double, (double)); //SIGNATURE_CHECK (GNULIB_NAMESPACE::y0, double, (double));