My Project
debian-1:4.1.1-p2+ds-4build2
factory
gmpext.h
Go to the documentation of this file.
1
/* emacs edit mode for this file is -*- C++ -*- */
2
3
#ifndef INCL_GMPEXT_H
4
#define INCL_GMPEXT_H
5
6
/**
7
* @file gmpext.h
8
*
9
* utility functions for gmp
10
**/
11
12
// #include "config.h"
13
14
#include "
cf_defs.h
"
15
#include "
imm.h
"
16
17
18
inline
bool
19
mpz_is_imm
(
const
mpz_t mpi )
20
{
21
return
( mpz_cmp_si( mpi,
MINIMMEDIATE
) >= 0 ) &&
22
( mpz_cmp_si( mpi,
MAXIMMEDIATE
) <= 0 );
23
}
24
25
#endif
/* ! INCL_GMPEXT_H */
MINIMMEDIATE
const long MINIMMEDIATE
Definition:
imm.h:54
MAXIMMEDIATE
const long MAXIMMEDIATE
Definition:
imm.h:55
cf_defs.h
imm.h
mpz_is_imm
bool mpz_is_imm(const mpz_t mpi)
Definition:
gmpext.h:19
Generated on Tue Mar 24 2020 14:10:46 for My Project by
doxygen 1.8.17
for
Singular debian-1:4.1.1-p2+ds-4build2