Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

av::Rational: define other relational operators #101

Closed
jgcodes2020 opened this issue Mar 27, 2022 · 0 comments
Closed

av::Rational: define other relational operators #101

jgcodes2020 opened this issue Mar 27, 2022 · 0 comments

Comments

@jgcodes2020
Copy link

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)).

@h4tr3d h4tr3d closed this as completed in 7ebd65f Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant