mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 11:39:43 +00:00
LibCrypto: Introduce a falible API for SignedBigInteger::shift_left
This commit is contained in:
parent
c48641c13a
commit
8fda05d8b7
Notes:
github-actions[bot]
2025-02-19 14:02:02 +00:00
Author: https://github.com/ttrssreal
Commit: 8fda05d8b7
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3615
6 changed files with 48 additions and 8 deletions
|
@ -120,6 +120,8 @@ public:
|
|||
[[nodiscard]] SignedBigInteger multiplied_by(SignedBigInteger const& other) const;
|
||||
[[nodiscard]] SignedDivisionResult divided_by(SignedBigInteger const& divisor) const;
|
||||
|
||||
[[nodiscard]] ErrorOr<SignedBigInteger> try_shift_left(size_t num_bits) const;
|
||||
|
||||
[[nodiscard]] SignedBigInteger plus(UnsignedBigInteger const& other) const;
|
||||
[[nodiscard]] SignedBigInteger minus(UnsignedBigInteger const& other) const;
|
||||
[[nodiscard]] SignedBigInteger multiplied_by(UnsignedBigInteger const& other) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue