|
RAVENNAKIT
|
Little tiny struct to represent a fraction without loss. More...
#include <fraction.hpp>
Public Attributes | |
| T | numerator |
| T | denominator |
Friends | |
| bool | operator== (const Fraction &lhs, const Fraction &rhs) |
| bool | operator!= (const Fraction &lhs, const Fraction &rhs) |
Little tiny struct to represent a fraction without loss.
| T | The type of the numerator and denominator. |
Definition at line 36 of file fraction.hpp.
Definition at line 44 of file fraction.hpp.
Definition at line 40 of file fraction.hpp.
| T rav::Fraction< T >::denominator |
Definition at line 38 of file fraction.hpp.
| T rav::Fraction< T >::numerator |
Definition at line 37 of file fraction.hpp.