本文整理汇总了C++中real_concept::value方法的典型用法代码示例。如果您正苦于以下问题:C++ real_concept::value方法的具体用法?C++ real_concept::value怎么用?C++ real_concept::value使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类real_concept
的用法示例。
在下文中一共展示了real_concept::value方法的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:
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: ceil
inline real_concept ceil(real_concept a)
{ return std::ceil(a.value()); }
示例11: atan
inline real_concept atan(real_concept a)
{ return std::atan(a.value()); }
示例12: pow
inline real_concept pow(real_concept a, int b)
{ return std::pow(a.value(), static_cast<long double>(b)); }
示例13: exp
inline real_concept exp(real_concept a)
{ return std::exp(a.value()); }
示例14: abs
inline real_concept abs(real_concept a)
{ return std::abs(a.value()); }
示例15: sinh
inline real_concept sinh(real_concept a)
{ return std::sinh(a.value()); }