Givaro
Data Structures | Namespaces | Macros
modular-integral.h File Reference

representation of Z/mZ over int types. More...

#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"
#include "givaro/modular-implem.h"
#include "modular-mulprecomp.inl"
#include "modular-integral.inl"
+ Include dependency graph for modular-integral.h:

Data Structures

class  Modular< _Storage_t, _Compute_t, typename std::enable_if< std::is_integral< _Storage_t >::value &&std::is_integral< _Compute_t >::value &&(sizeof(_Storage_t)==sizeof(_Compute_t)||2 *sizeof(_Storage_t)==sizeof(_Compute_t))>::type >
 

Namespaces

 Givaro
 Namespace in which the whole Givaro library resides.
 

Macros

#define IS_INT(T)   std::is_integral<T>::value
 
#define IS_SINT(T)   std::is_integral<T>::value && std::is_signed<T>::value
 
#define IS_UINT(T)   std::is_integral<T>::value && std::is_unsigned<T>::value
 
#define IS_FLOAT(T)   std::is_floating_point<T>::value
 

Detailed Description

representation of Z/mZ over int types.

Macro Definition Documentation

◆ IS_INT

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

◆ IS_SINT

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

◆ IS_UINT

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

◆ IS_FLOAT

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