2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

Add to compile and instantiate tests

This commit is contained in:
Matt Borland
2025-09-09 08:20:16 +02:00
parent b8e1276b79
commit 669557e79d
2 changed files with 4 additions and 0 deletions

View File

@@ -369,6 +369,7 @@ void instantiate(RealType)
boost::math::jacobi_theta4m1(v1, v2);
boost::math::jacobi_theta4m1tau(v1, v2);
boost::math::hypot(v1, v2);
boost::math::hypot(v1, v2, v3);
boost::math::sinc_pi(v1);
boost::math::sinhc_pi(v1);
boost::math::asinh(v1);

View File

@@ -16,8 +16,11 @@
void compile_and_link_test()
{
check_result<float>(boost::math::hypot<float>(f, f));
check_result<float>(boost::math::hypot(f, f, f));
check_result<double>(boost::math::hypot<double>(d, d));
check_result<double>(boost::math::hypot<double>(d, d,d));
#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
check_result<long double>(boost::math::hypot<long double>(l, l));
check_result<long double>(boost::math::hypot<long double>(l, l, l));
#endif
}