mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 00:27:47 +00:00
LibCrypto: Add naive implementation of {Un,}SignedBigInteger::to_double
This commit is contained in:
parent
62bc238ac3
commit
bcdad57670
Notes:
sideshowbarker
2024-07-18 04:34:19 +09:00
Author: https://github.com/IdanHo
Commit: bcdad57670
Pull-request: https://github.com/SerenityOS/serenity/pull/9859
Reviewed-by: https://github.com/linusg ✅
4 changed files with 16 additions and 0 deletions
|
@ -66,6 +66,7 @@ public:
|
|||
String to_base(u16 N) const;
|
||||
|
||||
u64 to_u64() const;
|
||||
double to_double() const;
|
||||
|
||||
const UnsignedBigInteger& unsigned_value() const { return m_unsigned_data; }
|
||||
const Vector<u32, STARTING_WORD_SIZE> words() const { return m_unsigned_data.words(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue