30 #ifndef __NUMBER_RATIONAL_H__
31 #define __NUMBER_RATIONAL_H__
38 #include "../string.h"
40 #ifndef _COMPILE_WITHOUT_REGEXP_
41 #include "../regexp.h"
43 #ifdef _USE_LOCAL_GMP_
67 #ifndef _COMPILE_WITHOUT_REGEXP_
70 bool isInteger()
const;
71 bool isCOInteger()
const;
73 bool operator>=(
int const &)
const;
94 void print(ostream &)
const;
96 string to_string()
const;
Definition: mpz_rational.h:49
mpz_class a
Definition: mpz_rational.h:51
mpz_class b
Definition: mpz_rational.h:52
Definition: number_template.h:37
bool operator==(const Graph &g1, const Graph &g2)
Definition: graph.cpp:991
ostream & operator<<(ostream &, MPZ_rational const &)
Definition: mpz_rational.cpp:224
Permet d'avoir un type générique (regroupant Number_rational, ...)