HUGE_VALF
来自cppreference.com
该页由英文版wiki使用Google Translate机器翻译而来。
该翻译可能存在错误或用词不当。鼠标停留在文本上可以看到原版本。你可以帮助我们修正错误或改进翻译。参见说明请点击这里. |
在头文件 <cmath> 中定义
|
||
#define HUGE_VALF /*implementation defined*/ |
(C++11 起) | |
#define HUGE_VAL /*implementation defined*/ |
||
#define HUGE_VALL /*implementation defined*/ |
(C++11 起) | |
HUGE_VALF
,HUGE_VAL
和HUGE_VALL
宏扩展到积极的浮点常量表达式中的浮点函数和运算符在溢出的情况下返回的值相等的.原文:
The
HUGE_VALF
, HUGE_VAL
and HUGE_VALL
macros expand to positive floating point constant expressions which compare equal to the values returned by floating-point functions and operators in case of overflow. 常数
|
Explanation |
HUGE_VALF
|
展开积极float表达式,表示溢出
原文: Expands to positive float expression that indicates overflow |
HUGE_VAL
|
扩展到积极double表达式,表示溢出,不一定表示为一个float
原文: Expands to positive double expression that indicates overflow, not necessarily representable as a float |
HUGE_VALL
|
扩展到积极long double表达式,表示溢出,不一定表示为一个float或double
原文: Expands to positive long double expression that indicates overflow, not necessarily representable as a float or double |
的实现,支持浮点无穷大,这些宏扩展到正无穷大float,double,long double,分别.
原文:
On implementations that support floating-point infinities, these macros always expand to the positive infinities of float, double, and long double, respectively.