78 : num(num), den(den) {}
84 constexpr bool Valid() const noexcept {
85 return num > 0 && den > 0;
93 return den ?
static_cast<double>(num) /
static_cast<double>(den) : 0.0;
110 return num == other.num && den == other.den;
119 return !(*
this == other);
#define STORMBYTE_MULTIMEDIA_PUBLIC
Imported symbol.
Definition visibility.h:47