Images 💾

Last commit ⭐

commit 8b8cee31728b02a500ee530e081c7b767ebb68cd
Author:     davidot <>
AuthorDate: Wed Aug 24 10:13:16 2022 +0200
Commit:     Linus Groh <>
CommitDate: Wed Aug 24 23:27:17 2022 +0100

    LibCrypto: Implement a (mostly) proper to_double for UnsignedBigInteger
    SignedBigInteger can immediately use this by just negating the double if
    the sign bit is set.
    For simple cases (below 2^53) we can just convert via an u64, however
    above that we need to extract the top 53 bits and use those as the
    This function currently does not behave exactly as the JS spec specifies
    however it is much less naive than the previous implementation.