Regina 7.4 Calculation Engine
rational.h File Reference

Deals with artibrary precision rational numbers. More...

#include "regina-core.h"
#include "maths/integer.h"

Classes

class  regina::Rational
 Represents an arbitrary precision rational number. More...
 

Namespaces

namespace  regina
 Contains the entire Regina calculation engine.
 

Functions

void regina::swap (Rational &a, Rational &b) noexcept
 Swaps the contents of the given rationals.
 
std::ostream & regina::operator<< (std::ostream &out, const Rational &rat)
 Writes the given rational to the given output stream.
 

Detailed Description

Deals with artibrary precision rational numbers.