Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
std::numeric_limits_detail::int_info< 4 > Struct Reference

Internal helper to define properties for 4-byte integer types. More...

Static Public Attributes

static constexpr int digits10 {9}
 The number of decimal digits.
 
static constexpr int32_t signed_max {static_cast<int32_t>(2'147'483'647L)}
 The maximum value of a signed integer with this size.
 
static constexpr int32_t signed_min {static_cast<int32_t>(-signed_max - 1)}
 The minimum value of a signed integer with this size.
 
static constexpr int unsigned_digits10 {9}
 The number of decimal digits when unsigned.
 
static constexpr uint32_t unsigned_max {static_cast<uint32_t>(4'294'967'295U)}
 The maximum value of an unsigned integer with this size.
 

Detailed Description

Internal helper to define properties for 4-byte integer types.

Member Data Documentation

◆ digits10

int std::numeric_limits_detail::int_info< 4 >::digits10 {9}
staticconstexpr

The number of decimal digits.

◆ signed_max

int32_t std::numeric_limits_detail::int_info< 4 >::signed_max {static_cast<int32_t>(2'147'483'647L)}
staticconstexpr

The maximum value of a signed integer with this size.

◆ signed_min

int32_t std::numeric_limits_detail::int_info< 4 >::signed_min {static_cast<int32_t>(-signed_max - 1)}
staticconstexpr

The minimum value of a signed integer with this size.

◆ unsigned_digits10

int std::numeric_limits_detail::int_info< 4 >::unsigned_digits10 {9}
staticconstexpr

The number of decimal digits when unsigned.

◆ unsigned_max

uint32_t std::numeric_limits_detail::int_info< 4 >::unsigned_max {static_cast<uint32_t>(4'294'967'295U)}
staticconstexpr

The maximum value of an unsigned integer with this size.


The documentation for this struct was generated from the following file: