mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibCrypto: Add LCM functionality to UnsignedBigInteger
This commit is contained in:
parent
adaa8e418a
commit
d55f759bbb
Notes:
github-actions[bot]
2025-06-25 00:23:14 +00:00
Author: https://github.com/devgianlu
Commit: d55f759bbb
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4950
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/konradekk
Reviewed-by: https://github.com/shannonbooth
2 changed files with 8 additions and 0 deletions
|
@ -80,6 +80,7 @@ public:
|
|||
[[nodiscard]] UnsignedDivisionResult divided_by(UnsignedBigInteger const& divisor) const;
|
||||
[[nodiscard]] UnsignedBigInteger pow(u32 exponent) const;
|
||||
[[nodiscard]] UnsignedBigInteger gcd(UnsignedBigInteger const& other) const;
|
||||
[[nodiscard]] UnsignedBigInteger lcm(UnsignedBigInteger const& other) const;
|
||||
|
||||
[[nodiscard]] u32 hash() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue