Effective implementation of algorithms (Master Thesis)
Effective and error-free implementation of algorithms
|
#include <ostream>
#include <stdexcept>
#include <stdint.h>
#include "math/gcd/gcd.h"
#include "utils/preconditions/preconditions.h"
#include "third_party/safeint3.hpp"
Go to the source code of this file.
Classes | |
class | math::rational::Rational< T > |
Namespaces | |
namespace | math |
namespace | math::rational |
Defines | |
#define | NEEDS_INT_DEFINED |
Functions | |
template<typename T > | |
Rational< T > | math::rational::operator- (const Rational< T > &a) |
template<typename T > | |
bool | math::rational::operator== (const Rational< T > &a, const Rational< T > &b) |
template<typename T > | |
bool | math::rational::operator< (const Rational< T > &a, const Rational< T > &b) |
template<typename T > | |
bool | math::rational::operator> (const Rational< T > &a, const Rational< T > &b) |
template<typename T > | |
bool | math::rational::operator<= (const Rational< T > &a, const Rational< T > &b) |
template<typename T > | |
bool | math::rational::operator>= (const Rational< T > &a, const Rational< T > &b) |
template<typename T > | |
std::ostream & | math::rational::operator<< (std::ostream &out, const Rational< T > &a) |
#define NEEDS_INT_DEFINED |