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

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

Static Public Attributes

static constexpr int digits10 {4}
 The number of decimal digits.
 
static constexpr int16_t signed_max {32767}
 The minimum value of a signed integer with this size.
 
static constexpr int16_t signed_min {-32768}
 The minimum value of a signed integer with this size.
 
static constexpr int unsigned_digits10 {4}
 The number of decimal digits when unsigned.
 
static constexpr uint16_t unsigned_max {65535U}
 The maximum value of an unsigned integer with this size.
 

Detailed Description

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

Member Data Documentation

◆ digits10

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

The number of decimal digits.

◆ signed_max

int16_t std::numeric_limits_detail::int_info< 2 >::signed_max {32767}
staticconstexpr

The minimum value of a signed integer with this size.

◆ signed_min

int16_t std::numeric_limits_detail::int_info< 2 >::signed_min {-32768}
staticconstexpr

The minimum value of a signed integer with this size.

◆ unsigned_digits10

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

The number of decimal digits when unsigned.

◆ unsigned_max

uint16_t std::numeric_limits_detail::int_info< 2 >::unsigned_max {65535U}
staticconstexpr

The maximum value of an unsigned integer with this size.


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