首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

HUGE_VAL

Defined in header <cmath>

?

?

#define HUGE_VALF /*implementation defined*/

?

(since C++11)

#define HUGE_VAL /*implementation defined*/

?

?

#define HUGE_VALL /*implementation defined*/

?

(since C++11)

HUGE_VALF,,,HUGE_VALHUGE_VALL宏扩展为正浮点常量表达式,该表达式与浮点函数和运算符在溢出时返回的值相等,请参见math_errhandling29%。

Constant

Explanation

HUGE_VALF

Expands to positive float expression that indicates overflow

HUGE_VAL

Expands to positive double expression that indicates overflow, not necessarily representable as a float

HUGE_VALL

Expands to positive long double expression that indicates overflow, not necessarily representable as a float or double

在支持浮点无穷大的实现中,这些宏总是扩展到float,,,double,和long double分别。

另见

INFINITY (C++11)

evaluates to positive infinity or the value guaranteed to overflow a float (macro constant)

C文件[医]瓦尔

代码语言:txt
复制
 ? cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com