diff --git a/Userland/Libraries/LibCrypto/BigInt/SignedBigInteger.h b/Userland/Libraries/LibCrypto/BigInt/SignedBigInteger.h index 3037e0d81c..78b6994446 100644 --- a/Userland/Libraries/LibCrypto/BigInt/SignedBigInteger.h +++ b/Userland/Libraries/LibCrypto/BigInt/SignedBigInteger.h @@ -72,6 +72,7 @@ public: [[nodiscard]] UnsignedBigInteger const& unsigned_value() const { return m_unsigned_data; } [[nodiscard]] Vector const words() const { return m_unsigned_data.words(); } [[nodiscard]] bool is_negative() const { return m_sign; } + [[nodiscard]] bool is_zero() const { return m_unsigned_data.is_zero(); } void negate() {