Skip to content

Latest commit

 

History

History
18 lines (17 loc) · 912 Bytes

File metadata and controls

18 lines (17 loc) · 912 Bytes
title Numerical Limits (C++) | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.technology
cpp-language
ms.topic language-reference
dev_langs
C++
helpviewer_keywords
numerical limits
ms.assetid 5ebc9837-e273-4ea6-ac7d-14b3c2c974c7
author mikeblome
ms.author mblome
ms.workload
cplusplus

Numerical Limits (C++)

The two standard include files, <limits.h> and <float.h>, define the numerical limits, or minimum and maximum values that a variable of a given type can hold. These minimums and maximums are guaranteed to be portable to any C++ compiler that uses the same data representation as ANSI C. The <limits.h> include file defines the numerical limits for integral types, and <float.h> defines the numerical limits for floating types.

See Also

Basic Concepts