--- title: "Numerical Limits (C++) | Microsoft Docs" ms.custom: "" ms.date: "11/04/2016" ms.reviewer: "" ms.suite: "" ms.technology: - "cpp-language" ms.tgt_pltfrm: "" ms.topic: "language-reference" dev_langs: - "C++" helpviewer_keywords: - "numerical limits" ms.assetid: 5ebc9837-e273-4ea6-ac7d-14b3c2c974c7 caps.latest.revision: 7 author: "mikeblome" ms.author: "mblome" manager: "ghogen" translation.priority.ht: - "cs-cz" - "de-de" - "es-es" - "fr-fr" - "it-it" - "ja-jp" - "ko-kr" - "pl-pl" - "pt-br" - "ru-ru" - "tr-tr" - "zh-cn" - "zh-tw" --- # 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](../cpp/integer-limits.md), and FLOAT.H defines the [numerical limits for floating types](../cpp/floating-limits.md). ## See Also [Basic Concepts](../cpp/basic-concepts-cpp.md)