Givaro
Namespaces | Macros
givbits.C File Reference
#include <iostream>
#include <stddef.h>
#include "givaro/givbits.h"
#include "givaro/givmodule.h"
+ Include dependency graph for givbits.C:

Namespaces

 Givaro
 Namespace in which the whole Givaro library resides.
 

Macros

#define GIV_SIZE_LONG   32
 
#define SIZE_IN_BYTE   4
 
#define SIZE_IN_BIT   32
 
#define QUO(x)   ( (x >>5) )
 
#define REM(x)   ( (x & 0x1f) )
 
#define MAX_WORD(x)   ( QUO(x) + (0!=REM(x) ? 1 : 0) )
 

Macro Definition Documentation

◆ GIV_SIZE_LONG

#define GIV_SIZE_LONG   32

◆ SIZE_IN_BYTE

#define SIZE_IN_BYTE   4

◆ SIZE_IN_BIT

#define SIZE_IN_BIT   32

◆ QUO

#define QUO (   x)    ( (x >>5) )

◆ REM

#define REM (   x)    ( (x & 0x1f) )

◆ MAX_WORD

#define MAX_WORD (   x)    ( QUO(x) + (0!=REM(x) ? 1 : 0) )