bool isgreater( float x, float y ); (1) (C++11 起) bool isgreater( double x, double y ); (2) (C++11 起) bool isgreater( long double x, long double y ); (3) (C++11 起) bool isgreater( Arithmetic x, Arithmetic y ); (4) (C++11 起)1...
否则,如果 num1 或num2 具有float 类型,那么 std::isgreater(num1, num2) 和std::isgreater(static_cast<float>(num1), static_cast<float>(num2)) 的效果相同。 (C++23 前) 如果num1 和num2 具有算术类型,那么 std::isgreater(num1, num2) 和std::isgreater(static_cast</*公共浮点数类型*/...
std::fmod, std::fmodf, std::fmodl std::remainder, std::remainderf, std::remainderl std::remquo, std::remquof, std::remquol std::hypot, std::hypotf, std::hypotl std::abs(float), std::fabs, std::fabsf, std::fabsl std::sqrt, std::sqrtf, std::sqrtl std::sin, std::sinf...
static_cast<float>(num2)). (until C++23) If num1 and num2 have arithmetic types, then std::isgreater(num1, num2) has the same effect as std::isgreater(static_cast</* common-floating-point-type */>(num1), static_cast</* common-floating-point-type */>(num2)), where /* com...
bool isgreaterequal( float x, float y ); (1) (since C++11) bool isgreaterequal( double x, double y ); (2) (since C++11) bool isgreaterequal( long double x, long double y ); (3) (since C++11) bool isgreaterequal( Arithmetic x, Arithmetic y ); (4) (since C++11) ...
定义于头文件<cmath> boolisgreaterequal(floatx,floaty); (1)(C++11 起) boolisgreaterequal(doublex,doubley); (2)(C++11 起) boolisgreaterequal(longdoublex,longdoubley); (3)(C++11 起) boolisgreaterequal(Arithmetic x, Arithmetic y); ...
定义于头文件<cmath> boolisgreaterequal(floatx,floaty); (1)(C++11 起) boolisgreaterequal(doublex,doubley); (2)(C++11 起) boolisgreaterequal(longdoublex,longdoubley); (3)(C++11 起) boolisgreaterequal(Arithmetic x, Arithmetic y); ...
否则,如果 num1 或num2 具有float 类型,那么 std::isgreaterequal(num1, num2) 和std::isgreaterequal(static_cast<float>(num1), static_cast<float>(num2)) 的效果相同。 (C++23 前) 如果num1 和num2 具有算术类型,那么 std::isgreaterequal(num1, num2) 和std::isgreaterequal(static_cast</...
static_cast<float>(num2)). (until C++23) If num1 and num2 have arithmetic types, then std::isgreaterequal(num1, num2) has the same effect as std::isgreaterequal(static_cast</* common-floating-point-type */>(num1), static_cast</* common-floating-point-type */>(num2)), where...
定义于头文件<cmath> boolislessgreater(floatx,floaty); (1)(C++11 起) boolislessgreater(doublex,doubley); (2)(C++11 起) boolislessgreater(longdoublex,longdoubley); (3)(C++11 起) boolislessgreater(Arithmetic x, Arithmetic y);