Line data Source code
1 :
2 : #include "math/func/gamma.hpp"
3 :
4 : #include <boost/math/special_functions/gamma.hpp>
5 :
6 : namespace mx
7 : {
8 : namespace math
9 : {
10 : namespace func
11 : {
12 :
13 : template <>
14 0 : float tgamma<float>( float x )
15 : {
16 0 : return boost::math::tgamma<float>( x );
17 : }
18 :
19 : template <>
20 0 : double tgamma<double>( double x )
21 : {
22 0 : return boost::math::tgamma<double>( x );
23 : }
24 :
25 : template <>
26 0 : long double tgamma<long double>( long double x )
27 : {
28 0 : return boost::math::tgamma<long double>( x );
29 : }
30 :
31 : #ifdef HASQUAD
32 : template <>
33 : __float128 tgamma<__float128>( __float128 x )
34 : {
35 : return boost::math::tgamma<__float128>( x );
36 : }
37 : #endif
38 :
39 : } // namespace func
40 : } // namespace math
41 : } // namespace mx
|