Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::howard_detail::Exact_Integer< Cost_Type > Struct Template Reference

Integer type, and its limits, of the exact arithmetic for Cost_Type: long long, or int128_t for unsigned long long and 128-bit costs. More...

#include <Howard_Min_Mean_Cycle.H>

Public Types

using Wide = long long
 Signed integer of the arithmetic.
 
using Unsigned = unsigned long long
 Its unsigned counterpart.
 

Static Public Attributes

static constexpr Wide max = std::numeric_limits<long long>::max()
 Largest value.
 
static constexpr Wide min = std::numeric_limits<long long>::min()
 Smallest value.
 

Detailed Description

template<typename Cost_Type>
struct Aleph::howard_detail::Exact_Integer< Cost_Type >

Integer type, and its limits, of the exact arithmetic for Cost_Type: long long, or int128_t for unsigned long long and 128-bit costs.

The limits are spelled out because std::numeric_limits is not specialised for 128-bit integers in strict ISO mode.

Definition at line 283 of file Howard_Min_Mean_Cycle.H.

Member Typedef Documentation

◆ Unsigned

template<typename Cost_Type >
using Aleph::howard_detail::Exact_Integer< Cost_Type >::Unsigned = unsigned long long

Its unsigned counterpart.

Definition at line 286 of file Howard_Min_Mean_Cycle.H.

◆ Wide

template<typename Cost_Type >
using Aleph::howard_detail::Exact_Integer< Cost_Type >::Wide = long long

Signed integer of the arithmetic.

Definition at line 285 of file Howard_Min_Mean_Cycle.H.

Member Data Documentation

◆ max

template<typename Cost_Type >
constexpr Wide Aleph::howard_detail::Exact_Integer< Cost_Type >::max = std::numeric_limits<long long>::max()
staticconstexpr

Largest value.

Definition at line 287 of file Howard_Min_Mean_Cycle.H.

◆ min

template<typename Cost_Type >
constexpr Wide Aleph::howard_detail::Exact_Integer< Cost_Type >::min = std::numeric_limits<long long>::min()
staticconstexpr

Smallest value.

Definition at line 288 of file Howard_Min_Mean_Cycle.H.


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