Home
last modified time | relevance | path

Searched refs:tgamma (Results 1 – 25 of 3108) sorted by relevance

12345678910>>...125

/dports/devel/gcem/gcem-1.13.1/tests/
H A Dtgamma.cpp32 GCEM_TEST_COMPARE_VALS(gcem::tgamma,std::tgamma, 1.5L); in main()
33 GCEM_TEST_COMPARE_VALS(gcem::tgamma,std::tgamma, 2.7L); in main()
34 GCEM_TEST_COMPARE_VALS(gcem::tgamma,std::tgamma, 3.0L); in main()
39 GCEM_TEST_COMPARE_VALS(gcem::tgamma,std::tgamma, 1.0); in main()
41 GCEM_TEST_COMPARE_VALS(gcem::tgamma,std::tgamma, 0.9); in main()
42 GCEM_TEST_COMPARE_VALS(gcem::tgamma,std::tgamma, 0.1); in main()
44 GCEM_TEST_COMPARE_VALS(gcem::tgamma,std::tgamma, 0.0); in main()
47 GCEM_TEST_COMPARE_VALS(gcem::tgamma,std::tgamma, -1); in main()
49 GCEM_TEST_COMPARE_VALS(gcem::tgamma,std::tgamma, -2); in main()
50 GCEM_TEST_COMPARE_VALS(gcem::tgamma,std::tgamma, -3); in main()
[all …]
/dports/math/stan/stan-2.28.2/src/test/test-models/good/function-signatures/math/matrix/
H A Dtgamma.stan40 trans_x3y = tgamma(x3y);
41 trans_x4y = tgamma(x4y);
42 trans_x5y = tgamma(x5y);
43 trans_x2z = tgamma(x1z);
44 trans_x2z = tgamma(x2z);
45 trans_x3z = tgamma(x3z);
46 trans_x4z = tgamma(x4z);
47 trans_x5z = tgamma(x5z);
48 trans_x2w = tgamma(x1w);
49 trans_x2w = tgamma(x2w);
[all …]
/dports/math/py-pystan/pystan-2.19.0.0/pystan/stan/lib/stan_math/stan/math/rev/scal/fun/
H A Dibeta.hpp48 - tgamma(a) * tgamma(a + b) / tgamma(b) * pow(c, a) in chain()
49 / tgamma(1 + a) / tgamma(1 + a) in chain()
52 * (tgamma(b) * tgamma(a + b) / tgamma(a) * pow(1 - c, b) in chain()
54 / tgamma(b + 1) / tgamma(b + 1) in chain()
74 - tgamma(a) * tgamma(a + b) / tgamma(b) * pow(c, a) in chain()
75 / tgamma(1 + a) / tgamma(1 + a) in chain()
78 * (tgamma(b) * tgamma(a + b) / tgamma(a) * pow(1 - c, b) in chain()
101 - tgamma(a) * tgamma(a + b) / tgamma(b) * pow(c, a) in chain()
123 - tgamma(a) * tgamma(a + b) / tgamma(b) * pow(c, a) in chain()
144 * (tgamma(b) * tgamma(a + b) / tgamma(a) * pow(1 - c, b) in chain()
[all …]
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/libs/math/test/
H A Dtest_gamma.hpp36 pg funcp = boost::math::tgamma<value_type>; in do_test_gamma()
38 pg funcp = boost::math::tgamma; in do_test_gamma()
56 funcp = other::tgamma; in do_test_gamma()
182 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(3.5)), static_cast<T>(3.3233509704478425511… in test_spots()
183 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(0.125)), static_cast<T>(7.53394159879761190… in test_spots()
184 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(-0.125)), static_cast<T>(-8.717218859383175… in test_spots()
185 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(-3.125)), static_cast<T>(1.1668538708507675… in test_spots()
200 …BOOST_CHECK_CLOSE(::boost::math::tgamma(4 / boost::math::tools::max_value<T>()), boost::math::tool… in test_spots()
211 …BOOST_CHECK_CLOSE(::boost::math::tgamma(-4 / boost::math::tools::max_value<T>()), -boost::math::to… in test_spots()
335 …BOOST_CHECK_EQUAL(boost::math::tgamma(-std::numeric_limits<T>::denorm_min()), -std::numeric_limits… in test_spots()
[all …]
H A Dtest_igamma.hpp36 pg funcp = boost::math::tgamma<value_type, value_type>; in do_test_gamma_2()
38 pg funcp = boost::math::tgamma; in do_test_gamma_2()
169 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(5), static_cast<T>(1)), static_cast<T>(23.9… in test_spots()
201 …<T>(-22)) * pow(static_cast<T>(22), static_cast<T>(19.5)) / boost::math::tgamma(static_cast<T>(20.… in test_spots()
204 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(20), ldexp(T(1), -40)), static_cast<T>(1.21… in test_spots()
208 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(30), ldexp(T(1), -30)), static_cast<T>(8.84… in test_spots()
217 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(176), static_cast<T>(100)), std::numeric_li… in test_spots()
219 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(530), static_cast<T>(2000)), std::numeric_l… in test_spots()
220 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(740), static_cast<T>(2500)), std::numeric_l… in test_spots()
221 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(530.5), static_cast<T>(2000)), std::numeric… in test_spots()
[all …]
/dports/databases/mysqlwsrep57-server/boost_1_59_0/libs/math/test/
H A Dtest_gamma.hpp36 pg funcp = boost::math::tgamma<value_type>; in do_test_gamma()
38 pg funcp = boost::math::tgamma; in do_test_gamma()
56 funcp = other::tgamma; in do_test_gamma()
182 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(3.5)), static_cast<T>(3.3233509704478425511… in test_spots()
183 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(0.125)), static_cast<T>(7.53394159879761190… in test_spots()
184 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(-0.125)), static_cast<T>(-8.717218859383175… in test_spots()
185 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(-3.125)), static_cast<T>(1.1668538708507675… in test_spots()
200 …BOOST_CHECK_CLOSE(::boost::math::tgamma(4 / boost::math::tools::max_value<T>()), boost::math::tool… in test_spots()
211 …BOOST_CHECK_CLOSE(::boost::math::tgamma(-4 / boost::math::tools::max_value<T>()), -boost::math::to… in test_spots()
335 …BOOST_CHECK_EQUAL(boost::math::tgamma(-std::numeric_limits<T>::denorm_min()), -std::numeric_limits… in test_spots()
[all …]
H A Dtest_igamma.hpp36 pg funcp = boost::math::tgamma<value_type, value_type>; in do_test_gamma_2()
38 pg funcp = boost::math::tgamma; in do_test_gamma_2()
169 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(5), static_cast<T>(1)), static_cast<T>(23.9… in test_spots()
201 …<T>(-22)) * pow(static_cast<T>(22), static_cast<T>(19.5)) / boost::math::tgamma(static_cast<T>(20.… in test_spots()
204 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(20), ldexp(T(1), -40)), static_cast<T>(1.21… in test_spots()
208 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(30), ldexp(T(1), -30)), static_cast<T>(8.84… in test_spots()
217 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(176), static_cast<T>(100)), std::numeric_li… in test_spots()
219 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(530), static_cast<T>(2000)), std::numeric_l… in test_spots()
220 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(740), static_cast<T>(2500)), std::numeric_l… in test_spots()
221 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(530.5), static_cast<T>(2000)), std::numeric… in test_spots()
[all …]
/dports/databases/percona57-server/boost_1_59_0/libs/math/test/
H A Dtest_gamma.hpp36 pg funcp = boost::math::tgamma<value_type>; in do_test_gamma()
38 pg funcp = boost::math::tgamma; in do_test_gamma()
56 funcp = other::tgamma; in do_test_gamma()
182 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(3.5)), static_cast<T>(3.3233509704478425511… in test_spots()
183 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(0.125)), static_cast<T>(7.53394159879761190… in test_spots()
184 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(-0.125)), static_cast<T>(-8.717218859383175… in test_spots()
185 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(-3.125)), static_cast<T>(1.1668538708507675… in test_spots()
200 …BOOST_CHECK_CLOSE(::boost::math::tgamma(4 / boost::math::tools::max_value<T>()), boost::math::tool… in test_spots()
211 …BOOST_CHECK_CLOSE(::boost::math::tgamma(-4 / boost::math::tools::max_value<T>()), -boost::math::to… in test_spots()
335 …BOOST_CHECK_EQUAL(boost::math::tgamma(-std::numeric_limits<T>::denorm_min()), -std::numeric_limits… in test_spots()
[all …]
H A Dtest_igamma.hpp36 pg funcp = boost::math::tgamma<value_type, value_type>; in do_test_gamma_2()
38 pg funcp = boost::math::tgamma; in do_test_gamma_2()
169 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(5), static_cast<T>(1)), static_cast<T>(23.9… in test_spots()
201 …<T>(-22)) * pow(static_cast<T>(22), static_cast<T>(19.5)) / boost::math::tgamma(static_cast<T>(20.… in test_spots()
204 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(20), ldexp(T(1), -40)), static_cast<T>(1.21… in test_spots()
208 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(30), ldexp(T(1), -30)), static_cast<T>(8.84… in test_spots()
217 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(176), static_cast<T>(100)), std::numeric_li… in test_spots()
219 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(530), static_cast<T>(2000)), std::numeric_l… in test_spots()
220 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(740), static_cast<T>(2500)), std::numeric_l… in test_spots()
221 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(530.5), static_cast<T>(2000)), std::numeric… in test_spots()
[all …]
/dports/databases/xtrabackup/boost_1_59_0/libs/math/test/
H A Dtest_gamma.hpp36 pg funcp = boost::math::tgamma<value_type>; in do_test_gamma()
38 pg funcp = boost::math::tgamma; in do_test_gamma()
56 funcp = other::tgamma; in do_test_gamma()
182 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(3.5)), static_cast<T>(3.3233509704478425511… in test_spots()
183 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(0.125)), static_cast<T>(7.53394159879761190… in test_spots()
184 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(-0.125)), static_cast<T>(-8.717218859383175… in test_spots()
185 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(-3.125)), static_cast<T>(1.1668538708507675… in test_spots()
200 …BOOST_CHECK_CLOSE(::boost::math::tgamma(4 / boost::math::tools::max_value<T>()), boost::math::tool… in test_spots()
211 …BOOST_CHECK_CLOSE(::boost::math::tgamma(-4 / boost::math::tools::max_value<T>()), -boost::math::to… in test_spots()
335 …BOOST_CHECK_EQUAL(boost::math::tgamma(-std::numeric_limits<T>::denorm_min()), -std::numeric_limits… in test_spots()
[all …]
H A Dtest_igamma.hpp36 pg funcp = boost::math::tgamma<value_type, value_type>; in do_test_gamma_2()
38 pg funcp = boost::math::tgamma; in do_test_gamma_2()
169 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(5), static_cast<T>(1)), static_cast<T>(23.9… in test_spots()
201 …<T>(-22)) * pow(static_cast<T>(22), static_cast<T>(19.5)) / boost::math::tgamma(static_cast<T>(20.… in test_spots()
204 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(20), ldexp(T(1), -40)), static_cast<T>(1.21… in test_spots()
208 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(30), ldexp(T(1), -30)), static_cast<T>(8.84… in test_spots()
217 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(176), static_cast<T>(100)), std::numeric_li… in test_spots()
219 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(530), static_cast<T>(2000)), std::numeric_l… in test_spots()
220 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(740), static_cast<T>(2500)), std::numeric_l… in test_spots()
221 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(530.5), static_cast<T>(2000)), std::numeric… in test_spots()
[all …]
/dports/databases/percona57-client/boost_1_59_0/libs/math/test/
H A Dtest_gamma.hpp36 pg funcp = boost::math::tgamma<value_type>; in do_test_gamma()
38 pg funcp = boost::math::tgamma; in do_test_gamma()
56 funcp = other::tgamma; in do_test_gamma()
182 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(3.5)), static_cast<T>(3.3233509704478425511… in test_spots()
183 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(0.125)), static_cast<T>(7.53394159879761190… in test_spots()
184 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(-0.125)), static_cast<T>(-8.717218859383175… in test_spots()
185 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(-3.125)), static_cast<T>(1.1668538708507675… in test_spots()
200 …BOOST_CHECK_CLOSE(::boost::math::tgamma(4 / boost::math::tools::max_value<T>()), boost::math::tool… in test_spots()
211 …BOOST_CHECK_CLOSE(::boost::math::tgamma(-4 / boost::math::tools::max_value<T>()), -boost::math::to… in test_spots()
335 …BOOST_CHECK_EQUAL(boost::math::tgamma(-std::numeric_limits<T>::denorm_min()), -std::numeric_limits… in test_spots()
[all …]
H A Dtest_igamma.hpp36 pg funcp = boost::math::tgamma<value_type, value_type>; in do_test_gamma_2()
38 pg funcp = boost::math::tgamma; in do_test_gamma_2()
169 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(5), static_cast<T>(1)), static_cast<T>(23.9… in test_spots()
201 …<T>(-22)) * pow(static_cast<T>(22), static_cast<T>(19.5)) / boost::math::tgamma(static_cast<T>(20.… in test_spots()
204 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(20), ldexp(T(1), -40)), static_cast<T>(1.21… in test_spots()
208 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(30), ldexp(T(1), -30)), static_cast<T>(8.84… in test_spots()
217 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(176), static_cast<T>(100)), std::numeric_li… in test_spots()
219 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(530), static_cast<T>(2000)), std::numeric_l… in test_spots()
220 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(740), static_cast<T>(2500)), std::numeric_l… in test_spots()
221 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(530.5), static_cast<T>(2000)), std::numeric… in test_spots()
[all …]
/dports/devel/boost-python-libs/boost_1_72_0/libs/math/test/
H A Dtest_gamma.hpp38 pg funcp = boost::math::tgamma<value_type>; in do_test_gamma()
40 pg funcp = boost::math::tgamma; in do_test_gamma()
171 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(3.5)), static_cast<T>(3.3233509704478425511… in test_spots()
172 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(0.125)), static_cast<T>(7.53394159879761190… in test_spots()
173 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(-0.125)), static_cast<T>(-8.717218859383175… in test_spots()
174 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(-3.125)), static_cast<T>(1.1668538708507675… in test_spots()
189 …BOOST_CHECK_CLOSE(::boost::math::tgamma(4 / boost::math::tools::max_value<T>()), boost::math::tool… in test_spots()
200 …BOOST_CHECK_CLOSE(::boost::math::tgamma(-4 / boost::math::tools::max_value<T>()), -boost::math::to… in test_spots()
227 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(142.75)), static_cast<T>(7.8029496083318133… in test_spots()
324 …BOOST_CHECK_EQUAL(boost::math::tgamma(-std::numeric_limits<T>::denorm_min()), -std::numeric_limits… in test_spots()
[all …]
H A Dtest_igamma.hpp43 funcp = boost::math::tgamma<value_type, value_type>; in do_test_gamma_2()
45 funcp = boost::math::tgamma; in do_test_gamma_2()
207 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(176), static_cast<T>(100)), std::numeric_li… in test_spots()
209 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(530), static_cast<T>(2000)), std::numeric_l… in test_spots()
210 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(740), static_cast<T>(2500)), std::numeric_l… in test_spots()
211 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(530.5), static_cast<T>(2000)), std::numeric… in test_spots()
212 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(740.5), static_cast<T>(2500)), std::numeric… in test_spots()
237 BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(22.25), max_val), 0); in test_spots()
238 BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(22.25), large_val), 0); in test_spots()
239 …:boost::math::tgamma_lower(static_cast<T>(22.25), max_val), boost::math::tgamma(static_cast<T>(22.… in test_spots()
[all …]
/dports/devel/boost-docs/boost_1_72_0/libs/math/test/
H A Dtest_gamma.hpp38 pg funcp = boost::math::tgamma<value_type>; in do_test_gamma()
40 pg funcp = boost::math::tgamma; in do_test_gamma()
171 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(3.5)), static_cast<T>(3.3233509704478425511… in test_spots()
172 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(0.125)), static_cast<T>(7.53394159879761190… in test_spots()
173 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(-0.125)), static_cast<T>(-8.717218859383175… in test_spots()
174 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(-3.125)), static_cast<T>(1.1668538708507675… in test_spots()
189 …BOOST_CHECK_CLOSE(::boost::math::tgamma(4 / boost::math::tools::max_value<T>()), boost::math::tool… in test_spots()
200 …BOOST_CHECK_CLOSE(::boost::math::tgamma(-4 / boost::math::tools::max_value<T>()), -boost::math::to… in test_spots()
227 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(142.75)), static_cast<T>(7.8029496083318133… in test_spots()
324 …BOOST_CHECK_EQUAL(boost::math::tgamma(-std::numeric_limits<T>::denorm_min()), -std::numeric_limits… in test_spots()
[all …]
H A Dtest_igamma.hpp43 funcp = boost::math::tgamma<value_type, value_type>; in do_test_gamma_2()
45 funcp = boost::math::tgamma; in do_test_gamma_2()
207 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(176), static_cast<T>(100)), std::numeric_li… in test_spots()
209 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(530), static_cast<T>(2000)), std::numeric_l… in test_spots()
210 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(740), static_cast<T>(2500)), std::numeric_l… in test_spots()
211 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(530.5), static_cast<T>(2000)), std::numeric… in test_spots()
212 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(740.5), static_cast<T>(2500)), std::numeric… in test_spots()
237 BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(22.25), max_val), 0); in test_spots()
238 BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(22.25), large_val), 0); in test_spots()
239 …:boost::math::tgamma_lower(static_cast<T>(22.25), max_val), boost::math::tgamma(static_cast<T>(22.… in test_spots()
[all …]
H A Dtest_gamma_hooks.hpp25 inline float tgamma(float x) in tgamma() function
27 inline double tgamma(double x) in tgamma() function
82 inline float tgamma(float x) in tgamma() function
83 { return ::tgamma(x); } in tgamma()
85 inline float tgamma(float x)
89 { return ::tgamma(x); } in tgamma()
94 return ::tgamma(x); in tgamma()
126 float tgamma(float z) in tgamma() function
130 double tgamma(double z) in tgamma() function
170 float tgamma(float z) in tgamma() function
[all …]
/dports/devel/boost-libs/boost_1_72_0/libs/math/test/
H A Dtest_gamma.hpp38 pg funcp = boost::math::tgamma<value_type>; in do_test_gamma()
40 pg funcp = boost::math::tgamma; in do_test_gamma()
171 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(3.5)), static_cast<T>(3.3233509704478425511… in test_spots()
172 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(0.125)), static_cast<T>(7.53394159879761190… in test_spots()
173 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(-0.125)), static_cast<T>(-8.717218859383175… in test_spots()
174 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(-3.125)), static_cast<T>(1.1668538708507675… in test_spots()
189 …BOOST_CHECK_CLOSE(::boost::math::tgamma(4 / boost::math::tools::max_value<T>()), boost::math::tool… in test_spots()
200 …BOOST_CHECK_CLOSE(::boost::math::tgamma(-4 / boost::math::tools::max_value<T>()), -boost::math::to… in test_spots()
227 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(142.75)), static_cast<T>(7.8029496083318133… in test_spots()
324 …BOOST_CHECK_EQUAL(boost::math::tgamma(-std::numeric_limits<T>::denorm_min()), -std::numeric_limits… in test_spots()
[all …]
H A Dtest_igamma.hpp43 funcp = boost::math::tgamma<value_type, value_type>; in do_test_gamma_2()
45 funcp = boost::math::tgamma; in do_test_gamma_2()
207 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(176), static_cast<T>(100)), std::numeric_li… in test_spots()
209 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(530), static_cast<T>(2000)), std::numeric_l… in test_spots()
210 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(740), static_cast<T>(2500)), std::numeric_l… in test_spots()
211 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(530.5), static_cast<T>(2000)), std::numeric… in test_spots()
212 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(740.5), static_cast<T>(2500)), std::numeric… in test_spots()
237 BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(22.25), max_val), 0); in test_spots()
238 BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(22.25), large_val), 0); in test_spots()
239 …:boost::math::tgamma_lower(static_cast<T>(22.25), max_val), boost::math::tgamma(static_cast<T>(22.… in test_spots()
[all …]
/dports/devel/hyperscan/boost_1_75_0/libs/math/test/
H A Dtest_gamma.hpp38 pg funcp = boost::math::tgamma<value_type>; in do_test_gamma()
40 pg funcp = boost::math::tgamma; in do_test_gamma()
171 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(3.5)), static_cast<T>(3.3233509704478425511… in test_spots()
172 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(0.125)), static_cast<T>(7.53394159879761190… in test_spots()
173 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(-0.125)), static_cast<T>(-8.717218859383175… in test_spots()
174 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(-3.125)), static_cast<T>(1.1668538708507675… in test_spots()
189 …BOOST_CHECK_CLOSE(::boost::math::tgamma(4 / boost::math::tools::max_value<T>()), boost::math::tool… in test_spots()
200 …BOOST_CHECK_CLOSE(::boost::math::tgamma(-4 / boost::math::tools::max_value<T>()), -boost::math::to… in test_spots()
227 …BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(142.75)), static_cast<T>(7.8029496083318133… in test_spots()
324 …BOOST_CHECK_EQUAL(boost::math::tgamma(-std::numeric_limits<T>::denorm_min()), -std::numeric_limits… in test_spots()
[all …]
H A Dtest_igamma.hpp43 funcp = boost::math::tgamma<value_type, value_type>; in do_test_gamma_2()
45 funcp = boost::math::tgamma; in do_test_gamma_2()
207 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(176), static_cast<T>(100)), std::numeric_li… in test_spots()
209 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(530), static_cast<T>(2000)), std::numeric_l… in test_spots()
210 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(740), static_cast<T>(2500)), std::numeric_l… in test_spots()
211 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(530.5), static_cast<T>(2000)), std::numeric… in test_spots()
212 …BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(740.5), static_cast<T>(2500)), std::numeric… in test_spots()
237 BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(22.25), max_val), 0); in test_spots()
238 BOOST_CHECK_EQUAL(::boost::math::tgamma(static_cast<T>(22.25), large_val), 0); in test_spots()
239 …:boost::math::tgamma_lower(static_cast<T>(22.25), max_val), boost::math::tgamma(static_cast<T>(22.… in test_spots()
[all …]
/dports/science/code_saturne/code_saturne-7.1.0/src/atmo/
H A Dspefun.f9041 function tgamma(x) function
44 double precision tgamma local
46 call csgamma(x, tgamma)
48 end function tgamma
81 gammaa = tgamma(a)
82 gammab = tgamma(b)
83 gammac = tgamma(c)
84 gammabma = tgamma(b-a)
85 gammacma = tgamma(c-a)
86 gammaamb = tgamma(a-b)
[all …]
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/BiFModule/Languages/OpenCL/Math/
H A Dtgamma.cl12 float OVERLOADABLE tgamma( float x )
14 return SPIRV_OCL_BUILTIN(tgamma, _f32, )( x );
17 GENERATE_VECTOR_FUNCTIONS_1ARG_LOOP( tgamma, float, float )
21 INLINE double OVERLOADABLE tgamma( double x )
23 return SPIRV_OCL_BUILTIN(tgamma, _f64, )( x );
26 GENERATE_VECTOR_FUNCTIONS_1ARG_LOOP( tgamma, double, double )
32 INLINE half OVERLOADABLE tgamma( half x )
34 return SPIRV_OCL_BUILTIN(tgamma, _f16, )( x );
37 GENERATE_VECTOR_FUNCTIONS_1ARG_LOOP( tgamma, half, half )
/dports/math/stanmath/math-4.2.0/test/unit/math/prim/fun/
H A Dtgamma_test.cpp7 TEST(MathFunctions, tgamma) { in TEST() argument
8 using stan::math::tgamma; in TEST()
9 EXPECT_FLOAT_EQ(1.772453850905516, tgamma(0.5)); in TEST()
10 EXPECT_FLOAT_EQ(1, tgamma(1)); in TEST()
11 EXPECT_FLOAT_EQ(2.423965479935368, tgamma(3.2)); in TEST()
12 EXPECT_FLOAT_EQ(6402373705728000, tgamma(19)); in TEST()
16 EXPECT_THROW(stan::math::tgamma(0.0), std::domain_error); in TEST()
21 EXPECT_TRUE(std::isnan(stan::math::tgamma(nan))); in TEST()

12345678910>>...125