mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibCrypto: Introduce a falible API for SignedBigInteger::shift_left
This commit is contained in:
Notes:
github-actions[bot]
2025-02-19 14:02:02 +00:00
Author: https://github.com/ttrssreal Commit: https://github.com/LadybirdBrowser/ladybird/commit/8fda05d8b79 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3615
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user