Skip to content

Latest commit

 

History

History
71 lines (59 loc) · 2.15 KB

File metadata and controls

71 lines (59 loc) · 2.15 KB
title <limits> | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-standard-libraries
ms.tgt_pltfrm
ms.topic article
f1_keywords
std.<limits>
std::<limits>
limits/std::<limits>
<limits>
dev_langs
C++
helpviewer_keywords
limits header
ms.assetid e07d6379-5b00-4a3d-a789-40d41538b59e
caps.latest.revision 18
author corob-msft
ms.author corob
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

<limits>

Defines the template class numeric_limits and two enumerations concerning floating-point representations and rounding.

Syntax

#include <limits>  
  

Remarks

Explicit specializations of the numeric_limits class describe many properties of the fundamental types, including the character, integer, and floating-point types and bool that are implementation defined rather than fixed by the rules of the C++ language. Properties described in <limits> include accuracy, minimum and maximum sized representations, rounding, and signaling type errors.

Enumerations

float_denorm_style The enumeration describes the various methods that an implementation can choose for representing a denormalized floating-point value — one too small to represent as a normalized value:
float_round_style The enumeration describes the various methods that an implementation can choose for rounding a floating-point value to an integer value.

Classes

numeric_limits Class The template class describes arithmetic properties of built-in numerical types.

See Also

Header Files Reference
Thread Safety in the C++ Standard Library