Arkulib
Classes | Namespaces | Functions
Rational.hpp File Reference
#include <cassert>
#include <cmath>
#include <fstream>
#include <iostream>
#include <numeric>
#include "Exceptions/Exceptions.hpp"
#include "Tools/Utils.hpp"

Go to the source code of this file.

Classes

class  Arkulib::Rational< IntType >
 This class can be used to express rationals. More...
 

Namespaces

namespace  Arkulib
 

Functions

template<typename IntType >
std::ostream & Arkulib::operator<< (std::ostream &stream, const Rational< IntType > &rational)
 << operator override to allow std::cout More...
 

Detailed Description

Author
Elise MASSA
Mattéo LECLERCQ
Date
2022
Warning
The use of Ratio isn't as performant as a simple float type

Definition in file Rational.hpp.