Givaro 4.2.1
modular-implem.h File Reference

Generic implementation of Modular. More...

#include <type_traits>
#include "givaro/givinteger.h"
#include "givaro/givcaster.h"
#include "givaro/givranditer.h"
#include "givaro/givtypestring.h"
#include "givaro/ring-interface.h"
#include "givaro/modular-general.h"

Data Structures

class  Modular_implem< _Storage_t, _Compute_t, _Residu_t >
 This class implement the standard arithmetic with Modulo Elements. More...
 

Namespaces

namespace  Givaro
 Namespace in which the whole Givaro library resides.
 

Macros

#define IS_INT(T)
 
#define IS_SINT(T)
 
#define IS_UINT(T)
 
#define IS_FLOAT(T)
 
#define IS_SAME(S, T)
 

Detailed Description

Generic implementation of Modular.

Macro Definition Documentation

◆ IS_INT

#define IS_INT ( T)
Value:
std::is_integral<T>::value

◆ IS_SINT

#define IS_SINT ( T)
Value:
std::is_integral<T>::value && std::is_signed<T>::value

◆ IS_UINT

#define IS_UINT ( T)
Value:
std::is_integral<T>::value && std::is_unsigned<T>::value

◆ IS_FLOAT

#define IS_FLOAT ( T)
Value:
std::is_floating_point<T>::value

◆ IS_SAME

#define IS_SAME ( S,
T )
Value:
std::is_same<S, T>::value