#include <Fraction.h>
Public Member Functions | |
Fraction ()=default | |
Fraction (unsigned const num, unsigned const denom) | |
double | value () const |
double | numerator () const |
void | aggregate (Fraction const &f) |
Private Attributes | |
unsigned | num_ {-1u} |
unsigned | denom_ {-1u} |
Definition at line 6 of file Fraction.h.
|
default |
|
inline |
Definition at line 10 of file Fraction.h.
|
inline |
Definition at line 27 of file Fraction.h.
|
inline |
Definition at line 21 of file Fraction.h.
|
inline |
Definition at line 15 of file Fraction.h.
|
private |
Definition at line 35 of file Fraction.h.
|
private |
Definition at line 34 of file Fraction.h.