FflasFfpack
Data Structures | Functions
flimits.h File Reference
#include <climits>
#include <limits>
#include <type_traits>
#include <givaro/givinteger.h>

Data Structures

struct  limits< unsigned char >
 
struct  limits< signed char >
 
struct  limits< char >
 
struct  limits< unsigned short int >
 
struct  limits< short int >
 
struct  limits< unsigned int >
 
struct  limits< int >
 
struct  limits< unsigned long >
 
struct  limits< long >
 
struct  limits< unsigned long long >
 
struct  limits< long long >
 
struct  limits< float >
 
struct  limits< double >
 
struct  limits< Givaro::Integer >
 
struct  limits< RecInt::ruint< K > >
 
struct  limits< RecInt::rint< K > >
 

Functions

template<class T , class E >
std::enable_if< std::is_signed< T >::value==std::is_signed< E >::value, bool >::type in_range (E e)
 
template<class T , class E >
std::enable_if<(std::is_signed< T >::value)&&!(std::is_signed< E >::value), bool >::type in_range (E e)
 
template<class T , class E >
std::enable_if<!(std::is_signed< T >::value)&&(std::is_signed< E >::value), bool >::type in_range (E e)
 

Function Documentation

◆ in_range() [1/3]

std::enable_if< std::is_signed< T >::value==std::is_signed< E >::value, bool >::type in_range ( e)

◆ in_range() [2/3]

std::enable_if<(std::is_signed< T >::value)&&!(std::is_signed< E >::value), bool >::type in_range ( e)

◆ in_range() [3/3]

std::enable_if<!(std::is_signed< T >::value)&&(std::is_signed< E >::value), bool >::type in_range ( e)