示例#1
0
inline int itrunc(const concepts::std_real_concept& v)
{
   return boost::math::itrunc(v.value(), policies::policy<>());
}
示例#2
0
inline boost::long_long_type llround(const concepts::std_real_concept& v)
{
   return boost::math::llround(v.value(), policies::policy<>());
}
示例#3
0
inline int itrunc(const concepts::std_real_concept& v, const Policy& pol)
{
   return boost::math::itrunc(v.value(), pol);
}
示例#4
0
inline boost::long_long_type llround(const concepts::std_real_concept& v, const Policy& pol)
{
   return boost::math::llround(v.value(), pol);
}
inline lslboost::long_long_type lltrunc(const concepts::std_real_concept& v)
{
   return lslboost::math::lltrunc(v.value(), policies::policy<>());
}
inline lslboost::long_long_type lltrunc(const concepts::std_real_concept& v, const Policy& pol)
{
   return lslboost::math::lltrunc(v.value(), pol);
}
inline long lround(const concepts::std_real_concept& v)
{
   return lslboost::math::lround(v.value(), policies::policy<>());
}
inline long lround(const concepts::std_real_concept& v, const Policy& pol)
{
   return lslboost::math::lround(v.value(), pol);
}