Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
JMATH::JLimits< T, true > Struct Template Reference

Template spacialisation of JMATH::JLimits for numerical values. More...

#include <JLimits.hh>

Static Public Member Functions

static T min ()
 Get minimum possible value.
 
static T max ()
 Get maximum possible value.
 

Static Public Attributes

static const bool is_specialized = true
 

Detailed Description

template<class T>
struct JMATH::JLimits< T, true >

Template spacialisation of JMATH::JLimits for numerical values.

Definition at line 28 of file JLimits.hh.

Member Function Documentation

◆ min()

template<class T >
static T JMATH::JLimits< T, true >::min ( )
inlinestatic

Get minimum possible value.

Returns
minimum possible value

Definition at line 34 of file JLimits.hh.

35 {
36 return std::numeric_limits<T>::min();
37 }

◆ max()

template<class T >
static T JMATH::JLimits< T, true >::max ( )
inlinestatic

Get maximum possible value.

Returns
maximum possible value

Definition at line 45 of file JLimits.hh.

46 {
47 return std::numeric_limits<T>::max();
48 }

Member Data Documentation

◆ is_specialized

template<class T >
const bool JMATH::JLimits< T, true >::is_specialized = true
static

Definition at line 50 of file JLimits.hh.


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