1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:27:45 +00:00

LibCrypto: Add naive implementation of {Un,}SignedBigInteger::to_double

This commit is contained in:
Idan Horowitz 2021-09-06 21:20:20 +03:00 committed by Linus Groh
parent 62bc238ac3
commit bcdad57670
4 changed files with 16 additions and 0 deletions

View file

@ -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(); }