本文整理汇总了C++中real_concept类的典型用法代码示例。如果您正苦于以下问题:C++ real_concept类的具体用法?C++ real_concept怎么用?C++ real_concept使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了real_concept类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: modf
inline real_concept modf(real_concept a, real_concept* ipart)
{
long double ip;
long double result = std::modf(a.value(), &ip);
*ipart = ip;
return result;
}
示例2: modf
inline real_concept modf(real_concept a, real_concept* ipart)
{
real_concept_base_type ip;
real_concept_base_type result = std::modf(a.value(), &ip);
*ipart = ip;
return result;
}
示例3: log10
inline real_concept log10(real_concept a)
{ return std::log10(a.value()); }
示例4: ldexp
inline real_concept ldexp(real_concept a, int expon)
{ return std::ldexp(a.value(), expon); }
示例5: frexp
inline real_concept frexp(real_concept a, int* expon)
{ return std::frexp(a.value(), expon); }
示例6: pow
inline real_concept pow(real_concept a, int b)
{ return std::pow(a.value(), static_cast<real_concept_base_type>(b)); }
示例7: sqrt
inline real_concept sqrt(real_concept a)
{ return std::sqrt(a.value()); }
示例8: fmod
inline real_concept fmod(real_concept a, real_concept b)
{ return fmodl(a.value(), b.value()); }
示例9: cosh
inline real_concept cosh(real_concept a)
{ return std::cosh(a.value()); }
示例10: atan2
inline real_concept atan2(real_concept a, real_concept b)
{ return std::atan2(a.value(), b.value()); }
示例11: ceil
inline real_concept ceil(real_concept a)
{ return std::ceil(a.value()); }
示例12: atan
inline real_concept atan(real_concept a)
{ return std::atan(a.value()); }
示例13:
inline bool operator >= (const real_concept& a, const real_concept& b)
{ return a.value() >= b.value(); }
示例14: pow
inline real_concept pow(real_concept a, int b)
{ return std::pow(a.value(), static_cast<long double>(b)); }
示例15: exp
inline real_concept exp(real_concept a)
{ return std::exp(a.value()); }