1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 22:48:11 +00:00

LibCrypto: Add missing implementation of SBI::multiplied_by(USBI)

This only had a declaration and was creating linker errors when used.
Easily fixed!
This commit is contained in:
Linus Groh 2021-07-08 00:22:03 +01:00
parent f48e581eac
commit 3e8574a9a8

View file

@ -151,6 +151,11 @@ FLATTEN SignedBigInteger SignedBigInteger::bitwise_not() const
return { unsigned_value().bitwise_not(), !m_sign };
}
FLATTEN SignedBigInteger SignedBigInteger::multiplied_by(UnsignedBigInteger const& other) const
{
return { unsigned_value().multiplied_by(other), m_sign };
}
FLATTEN SignedBigInteger SignedBigInteger::bitwise_or(const SignedBigInteger& other) const
{
auto result = bitwise_or(other.unsigned_value());