Closed jgcodes2020 closed 2 years ago
Currently, av::Rational defines operator==, operator!=, and operator<. The underlying av_cmp_q function offers a 3-way compare and could be used to implement operator>, operator<=, operator>=, and (operator<=> (C++20)).
av::Rational
operator==
operator!=
operator<
av_cmp_q
operator>
operator<=
operator>=
operator<=>
Currently,
av::Rational
definesoperator==
,operator!=
, andoperator<
. The underlyingav_cmp_q
function offers a 3-way compare and could be used to implementoperator>
,operator<=
,operator>=
, and (operator<=>
(C++20)).