Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 952 Bytes

huge-val-huge.md

File metadata and controls

31 lines (26 loc) · 952 Bytes
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
cpp-standard-libraries
conceptual
_HUGE
msvcrt.dll
DLLExport
_HUGE
HUGE_VAL
C++
_HUGE constant
HUGE_VAL constant
double value
3f044b45-02cd-46b2-b1de-87fd0441dd6a
corob-msft
corob
cplusplus

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