1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 16:07:46 +00:00

LibCrypto: Add operator>() to UnsignedBigInteger and SignedBigInteger

Piggybacking on operator!=() and operator<().
This commit is contained in:
Linus Groh 2021-07-07 17:37:17 +01:00
parent fda22c6889
commit 89641d90db
4 changed files with 18 additions and 0 deletions

View file

@ -121,10 +121,12 @@ public:
bool operator==(const SignedBigInteger& other) const;
bool operator!=(const SignedBigInteger& other) const;
bool operator<(const SignedBigInteger& other) const;
bool operator>(const SignedBigInteger& other) const;
bool operator==(const UnsignedBigInteger& other) const;
bool operator!=(const UnsignedBigInteger& other) const;
bool operator<(const UnsignedBigInteger& other) const;
bool operator>(const UnsignedBigInteger& other) const;
private:
bool m_sign { false };