X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-math-c%2B%2B.cc;h=9caa9511e623389ca8ffd9e29091570491b2edee;hb=80a029602f5b2707ca8d2487843ecb9e0df74a6a;hp=758f352ec56f84f66ddbec60abc93d3673a57210;hpb=59cd972bd4e6d5a53e31ed175779f24c63d4b6c4;p=gnulib.git diff --git a/tests/test-math-c++.cc b/tests/test-math-c++.cc index 758f352ec..9caa9511e 100644 --- a/tests/test-math-c++.cc +++ b/tests/test-math-c++.cc @@ -68,7 +68,15 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::atan2f, float, (float, float)); #endif //SIGNATURE_CHECK (GNULIB_NAMESPACE::atan2, double, (double, double)); -//SIGNATURE_CHECK (GNULIB_NAMESPACE::cbrt, double, (double)); +#if GNULIB_TEST_CBRTF +SIGNATURE_CHECK (GNULIB_NAMESPACE::cbrtf, float, (float)); +#endif +#if GNULIB_TEST_CBRT +SIGNATURE_CHECK (GNULIB_NAMESPACE::cbrt, double, (double)); +#endif +#if GNULIB_TEST_CBRTL +SIGNATURE_CHECK (GNULIB_NAMESPACE::cbrtl, long double, (long double)); +#endif #if GNULIB_TEST_CEILF SIGNATURE_CHECK (GNULIB_NAMESPACE::ceilf, float, (float)); @@ -116,6 +124,26 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::expf, float, (float)); SIGNATURE_CHECK (GNULIB_NAMESPACE::expl, long double, (long double)); #endif +#if GNULIB_TEST_EXP2F +SIGNATURE_CHECK (GNULIB_NAMESPACE::exp2f, float, (float)); +#endif +#if GNULIB_TEST_EXP2 +SIGNATURE_CHECK (GNULIB_NAMESPACE::exp2, double, (double)); +#endif +#if GNULIB_TEST_EXP2L +SIGNATURE_CHECK (GNULIB_NAMESPACE::exp2l, long double, (long double)); +#endif + +#if GNULIB_TEST_EXPM1F +SIGNATURE_CHECK (GNULIB_NAMESPACE::expm1f, float, (float)); +#endif +#if GNULIB_TEST_EXPM1 +SIGNATURE_CHECK (GNULIB_NAMESPACE::expm1, double, (double)); +#endif +#if GNULIB_TEST_EXPM1L +SIGNATURE_CHECK (GNULIB_NAMESPACE::expm1l, long double, (long double)); +#endif + #if GNULIB_TEST_FABSF SIGNATURE_CHECK (GNULIB_NAMESPACE::fabsf, float, (float)); #endif @@ -137,7 +165,9 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::floorl, long double, (long double)); #if GNULIB_TEST_FMODF SIGNATURE_CHECK (GNULIB_NAMESPACE::fmodf, float, (float, float)); #endif -//SIGNATURE_CHECK (GNULIB_NAMESPACE::fmod, double, (double, double)); +#if GNULIB_TEST_FMOD +SIGNATURE_CHECK (GNULIB_NAMESPACE::fmod, double, (double, double)); +#endif #if GNULIB_TEST_FMODL SIGNATURE_CHECK (GNULIB_NAMESPACE::fmodl, long double, (long double, long double)); @@ -153,7 +183,16 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::frexp, double, (double, int *)); SIGNATURE_CHECK (GNULIB_NAMESPACE::frexpl, long double, (long double, int *)); #endif -//SIGNATURE_CHECK (GNULIB_NAMESPACE::hypot, double, (double, double)); +#if GNULIB_TEST_HYPOTF +SIGNATURE_CHECK (GNULIB_NAMESPACE::hypotf, float, (float, float)); +#endif +#if GNULIB_TEST_HYPOT +SIGNATURE_CHECK (GNULIB_NAMESPACE::hypot, double, (double, double)); +#endif +#if GNULIB_TEST_HYPOTL +SIGNATURE_CHECK (GNULIB_NAMESPACE::hypotl, long double, + (long double, long double)); +#endif //SIGNATURE_CHECK (GNULIB_NAMESPACE::j0, double, (double)); @@ -172,15 +211,28 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::ldexpl, long double, (long double, int)); //SIGNATURE_CHECK (GNULIB_NAMESPACE::lgamma, double, (double)); //SIGNATURE_CHECK (GNULIB_NAMESPACE::log10, double, (double)); +#if GNULIB_TEST_LOG10L +SIGNATURE_CHECK (GNULIB_NAMESPACE::log10l, long double, (long double)); +#endif -//SIGNATURE_CHECK (GNULIB_NAMESPACE::log1p, double, (double)); +#if GNULIB_TEST_LOG1PF +SIGNATURE_CHECK (GNULIB_NAMESPACE::log1pf, float, (float)); +#endif +#if GNULIB_TEST_LOG1P +SIGNATURE_CHECK (GNULIB_NAMESPACE::log1p, double, (double)); +#endif +#if GNULIB_TEST_LOG1PL +SIGNATURE_CHECK (GNULIB_NAMESPACE::log1pl, long double, (long double)); +#endif //SIGNATURE_CHECK (GNULIB_NAMESPACE::logb, double, (double)); #if GNULIB_TEST_LOGF SIGNATURE_CHECK (GNULIB_NAMESPACE::logf, float, (float)); #endif -//SIGNATURE_CHECK (GNULIB_NAMESPACE::log, double, (double)); +#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 @@ -189,10 +241,22 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::logl, long double, (long double)); SIGNATURE_CHECK (GNULIB_NAMESPACE::log10f, float, (float)); #endif +#if GNULIB_TEST_LOG2F +SIGNATURE_CHECK (GNULIB_NAMESPACE::log2f, float, (float)); +#endif +#if GNULIB_TEST_LOG2 +SIGNATURE_CHECK (GNULIB_NAMESPACE::log2, double, (double)); +#endif +#if GNULIB_TEST_LOG2L +SIGNATURE_CHECK (GNULIB_NAMESPACE::log2l, long double, (long double)); +#endif + #if GNULIB_TEST_MODFF SIGNATURE_CHECK (GNULIB_NAMESPACE::modff, float, (float, float *)); #endif -//SIGNATURE_CHECK (GNULIB_NAMESPACE::modf, double, (double, double *)); +#if GNULIB_TEST_MODF +SIGNATURE_CHECK (GNULIB_NAMESPACE::modf, double, (double, double *)); +#endif #if GNULIB_TEST_MODFL SIGNATURE_CHECK (GNULIB_NAMESPACE::modfl, long double, (long double, long double *)); @@ -205,9 +269,16 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::powf, float, (float, float)); #endif //SIGNATURE_CHECK (GNULIB_NAMESPACE::pow, double, (double, double)); +#if GNULIB_TEST_REMAINDERF +SIGNATURE_CHECK (GNULIB_NAMESPACE::remainderf, float, (float, float)); +#endif #if GNULIB_TEST_REMAINDER SIGNATURE_CHECK (GNULIB_NAMESPACE::remainder, double, (double, double)); #endif +#if GNULIB_TEST_REMAINDERL +SIGNATURE_CHECK (GNULIB_NAMESPACE::remainderl, long double, + (long double, long double)); +#endif #if GNULIB_TEST_RINTF SIGNATURE_CHECK (GNULIB_NAMESPACE::rintf, float, (float));