A pair of rational numbers. More...
#include <cvb/codec_bridge/codec_bridge.hpp>
Public Member Functions | |
bool | operator== (const Rational &other) const noexcept |
Compares to an other rational. More... | |
bool | operator!= (const Rational &other) const noexcept |
Compares to an other rational. More... | |
A pair of rational numbers.
A rational may be interpreted as fraction. Therefore the Denominator defaults to 1.
|
inlinenoexcept |
Compares to an other rational.
[in] | other | Other rational. |
Does | not throw any exception. |
|
inlinenoexcept |
Compares to an other rational.
[in] | other | Other rational. |
Does | not throw any exception. |