mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
LibCrypto: Add a method to count the number of digits in a big int
This commit is contained in:
Notes:
github-actions[bot]
2026-02-22 14:40:33 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/ecdaa7911f8 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8063
@@ -47,6 +47,8 @@ public:
|
||||
[[nodiscard]] static ErrorOr<UnsignedBigInteger> from_base(u16 N, StringView str);
|
||||
[[nodiscard]] ErrorOr<String> to_base(u16 N) const;
|
||||
|
||||
[[nodiscard]] size_t count_digits_in_base(u16 base) const;
|
||||
|
||||
[[nodiscard]] u64 to_u64() const;
|
||||
|
||||
enum class RoundingMode {
|
||||
|
||||
Reference in New Issue
Block a user