EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
EBGeometry::Math::IntegerLimits< T, Lowest, Max > Struct Template Reference

Numeric limits of an integer type, from its climits constants. More...

#include <EBGeometry_Math.hpp>

Inheritance diagram for EBGeometry::Math::IntegerLimits< T, Lowest, Max >:
Inheritance graph
[legend]

Static Public Member Functions

static constexpr T max () noexcept
 Largest value.
 
static constexpr T lowest () noexcept
 Smallest value.
 
static constexpr T min () noexcept
 Smallest value (for an integer type, the same as lowest()).
 

Detailed Description

template<class T, T Lowest, T Max>
struct EBGeometry::Math::IntegerLimits< T, Lowest, Max >

Numeric limits of an integer type, from its climits constants.

Template Parameters
TInteger type.
LowestIts smallest value.
MaxIts largest value.

Member Function Documentation

◆ lowest()

template<class T , T Lowest, T Max>
static constexpr T EBGeometry::Math::IntegerLimits< T, Lowest, Max >::lowest ( )
inlinestaticconstexprnoexcept

Smallest value.

Returns
The type's minimum.

◆ max()

template<class T , T Lowest, T Max>
static constexpr T EBGeometry::Math::IntegerLimits< T, Lowest, Max >::max ( )
inlinestaticconstexprnoexcept

Largest value.

Returns
The type's maximum.

◆ min()

template<class T , T Lowest, T Max>
static constexpr T EBGeometry::Math::IntegerLimits< T, Lowest, Max >::min ( )
inlinestaticconstexprnoexcept

Smallest value (for an integer type, the same as lowest()).

Returns
The type's minimum.

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