30#ifndef __NUMBER_RATIONAL_H__
31#define __NUMBER_RATIONAL_H__
40#ifndef _COMPILE_WITHOUT_REGEXP_
67#ifndef _COMPILE_WITHOUT_REGEXP_
94 void print(ostream &)
const;
Definition mpz_rational.h:49
MPZ_rational operator*(MPZ_rational const &n) const
Definition mpz_rational.cpp:146
bool isInteger() const
Definition mpz_rational.cpp:114
void update()
Met à jour les attributs (gcd, isInt, ...)
Definition mpz_rational.cpp:95
MPZ_rational & operator-=(MPZ_rational const &n)
Definition mpz_rational.cpp:138
void opp(MPZ_rational *&_c) const
Definition mpz_rational.cpp:134
bool operator!=(MPZ_rational const &) const
Definition mpz_rational.cpp:206
MPZ_rational operator+(MPZ_rational const &n) const
Definition mpz_rational.cpp:118
mpz_class a
Definition mpz_rational.h:51
mpz_class b
Definition mpz_rational.h:52
bool operator==(int const &) const
Definition mpz_rational.cpp:193
MPZ_rational & operator+=(MPZ_rational const &n)
Definition mpz_rational.cpp:122
MPZ_rational & operator*=(MPZ_rational const &n)
Definition mpz_rational.cpp:150
bool isCOInteger() const
Definition mpz_rational.cpp:116
void print(ostream &) const
Definition mpz_rational.cpp:210
MPZ_rational operator/(MPZ_rational const &n) const
Definition mpz_rational.cpp:158
string to_string() const
Definition mpz_rational.cpp:217
MPZ_rational & operator=(long int)
Definition mpz_rational.cpp:176
MPZ_rational()
Definition mpz_rational.cpp:35
bool operator>=(int const &) const
Definition mpz_rational.cpp:188
MPZ_rational & operator/=(MPZ_rational const &n)
Definition mpz_rational.cpp:165
MPZ_rational operator-(MPZ_rational const &n) const
Definition mpz_rational.cpp:130
Definition number_template.h:37
ostream & operator<<(ostream &, MPZ_rational const &)
Definition mpz_rational.cpp:224
Permet d'avoir un type générique (regroupant Number_rational, ...)