Skip to content

Latest commit

 

History

History
59 lines (54 loc) · 1.22 KB

huge-val-huge.md

File metadata and controls

59 lines (54 loc) · 1.22 KB
title HUGE_VAL, _HUGE | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-standard-libraries
ms.tgt_pltfrm
ms.topic article
apiname
_HUGE
apilocation
msvcrt.dll
apitype DLLExport
f1_keywords
_HUGE
HUGE_VAL
dev_langs
C++
helpviewer_keywords
_HUGE constant
HUGE_VAL constant
double value
ms.assetid 3f044b45-02cd-46b2-b1de-87fd0441dd6a
caps.latest.revision 9
author corob-msft
ms.author corob
manager ghogen
translation.priority.ht
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
ru-ru
zh-cn
zh-tw
translation.priority.mt
cs-cz
pl-pl
pt-br
tr-tr

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 _HUGE, but run-time math functions return HUGE_VAL. You should also use HUGE_VAL in your code for consistency.

See Also

Global Constants