Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.18 KB

huge-val-huge.md

File metadata and controls

27 lines (21 loc) · 1.18 KB
descriptiontitlems.dateapi_nameapi_locationapi_typetopic_typef1_keywordshelpviewer_keywordsms.assetid
Learn more about: HUGE_VAL, _HUGE
HUGE_VAL, _HUGE
11/04/2016
_HUGE
msvcrt.dll
DLLExport
apiref
CORECRT_MATH/HUGE_VAL
CORECRT_MATH/HUGE_VALF
CORECRT_MATH/HUGE_VALL
CORECRT_MATH/HUGE
CORECRT_MATH/_HUGE
HUGE_VAL
HUGE_VALF
HUGE_VALL
HUGE
_HUGE
_HUGE constant
HUGE_VAL constant
double value
3f044b45-02cd-46b2-b1de-87fd0441dd6a

HUGE_VAL, _HUGE

Syntax

#include<math.h>

Remarks

HUGE_VAL is the largest representable double value. This value is returned by many run-time math functions when an error occurs. For some functions, -HUGE_VAL is returned. HUGE_VAL is defined as the result of a floating-point product that is guaranteed to overflow. HUGE_VALF and HUGE_VALL are the largest representable float and long double typed values, respectively. The internal value _HUGE and the synonymous HUGE are defined similarly, but run-time math functions return HUGE_VAL. You should also use HUGE_VAL in your code for consistency.

See also

Global constants

close