Regina 7.3 Calculation Engine
Classes | Namespaces | Functions
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. More...
 
std::ostream & regina::operator<< (std::ostream &out, const Rational &rat)
 Writes the given rational to the given output stream. More...
 

Detailed Description

Deals with artibrary precision rational numbers.


Copyright © 1999-2023, The Regina development team
This software is released under the GNU General Public License, with some additional permissions; see the source code for details.
For further information, or to submit a bug or other problem, please contact Ben Burton (bab@maths.uq.edu.au).