int
.
Definition in file Rational.h.
Go to the source code of this file.
Namespaces | |
namespace | arithm |
namespace | let |
Classes | |
class | Rational< NT_ > |
Generic rational arithmetic class. More... | |
struct | arithm::isfield_< Rational< X > > |
Functions | |
template<class C> | |
bool | adjust_denum (const C &x) |
template<typename NT> | |
int | quotient_cmp (const Rational< NT > &x, const Rational< NT > &y) |
template<typename NT> | |
int | compare (const Rational< NT > &x, const Rational< NT > &y) |
template<typename NT> | |
std::ostream & | operator<< (std::ostream &s, const Rational< NT > &r) |
template<typename NT> | |
Rational< NT > | operator+ (const Rational< NT > &x, const Rational< NT > &y) |
template<typename NT> | |
Rational< NT > | operator- (const Rational< NT > &x, const Rational< NT > &y) |
template<typename NT> | |
Rational< NT > | operator * (const Rational< NT > &x, const Rational< NT > &y) |
template<typename NT> | |
Rational< NT > | operator/ (const Rational< NT > &x, const Rational< NT > &y) |
template<typename NT> | |
Rational< NT > | operator- (const Rational< NT > &x) |
template<typename NT> | |
Rational< NT > | operator+ (const NT &x, const Rational< NT > &y) |
template<typename NT> | |
Rational< NT > | operator+ (const Rational< NT > &x, const NT &y) |
template<typename NT> | |
Rational< NT > | operator- (const NT &x, const Rational< NT > &y) |
template<typename NT> | |
Rational< NT > | operator- (const Rational< NT > &x, const NT &y) |
template<typename NT> | |
Rational< NT > | operator * (const NT &x, const Rational< NT > &y) |
template<typename NT> | |
Rational< NT > | operator * (const Rational< NT > &x, const NT &y) |
template<typename NT> | |
Rational< NT > | operator/ (const NT &x, const Rational< NT > &y) |
template<typename NT> | |
Rational< NT > | operator/ (const Rational< NT > &x, const NT &y) |
template<typename NT> | |
bool | operator== (const Rational< NT > &x, const Rational< NT > &y) |
template<typename NT> | |
bool | operator== (const Rational< NT > &x, const NT &y) |
template<typename NT> | |
bool | operator== (const NT &x, const Rational< NT > &y) |
template<typename NT> | |
bool | operator!= (const Rational< NT > &x, const Rational< NT > &y) |
template<typename NT> | |
bool | operator!= (const Rational< NT > &x, const NT &y) |
template<typename NT> | |
bool | operator!= (const NT &x, const Rational< NT > &y) |
template<typename NT> | |
bool | operator< (const Rational< NT > &x, const Rational< NT > &y) |
template<typename NT> | |
bool | operator< (const Rational< NT > &x, const NT &y) |
template<typename NT> | |
bool | operator< (const NT &x, const Rational< NT > &y) |
template<typename NT> | |
bool | operator> (const Rational< NT > &x, const Rational< NT > &y) |
template<typename NT> | |
bool | operator> (const Rational< NT > &x, const NT &y) |
template<typename NT> | |
bool | operator> (const NT &x, const Rational< NT > &y) |
template<typename NT> | |
bool | operator<= (const Rational< NT > &x, const Rational< NT > &y) |
template<typename NT> | |
bool | operator<= (const Rational< NT > &x, const NT &y) |
template<typename NT> | |
bool | operator<= (const NT &x, const Rational< NT > &y) |
template<typename NT> | |
bool | operator>= (const Rational< NT > &x, const Rational< NT > &y) |
template<typename NT> | |
bool | operator>= (const Rational< NT > &x, const NT &y) |
template<typename NT> | |
bool | operator>= (const NT &x, const Rational< NT > &y) |
template<typename NT> | |
double | to_double (const Rational< NT > &q) |
template<typename NT> | |
const NT & | denominator (const Rational< NT > &q) |
template<typename NT> | |
const NT & | numerator (const Rational< NT > &q) |
template<typename T, typename S> | |
void | let::assign (T &a, const Rational< S > &x) |
template<typename T> | |
void | let::assign (Rational< T > &a, const T &x) |
void | let::assign (double &a, const Rational< double > &x) |
![]() |