title | ms.custom | ms.date | ms.technology | ms.topic | apiname | apilocation | apitype | f1_keywords | dev_langs | helpviewer_keywords | ms.assetid | author | ms.author | ms.workload | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HUGE_VAL, _HUGE | Microsoft Docs |
11/04/2016 |
|
conceptual |
|
|
DLLExport |
|
|
|
3f044b45-02cd-46b2-b1de-87fd0441dd6a |
corob-msft |
corob |
|
#include <math.h>
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 _HUGE
, but run-time math functions return HUGE_VAL
. You should also use HUGE_VAL
in your code for consistency.