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:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user