1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00
serenity/Userland/Libraries/LibCrypto/BigInt
davidot 791855deab LibCrypto+LibJS: Remove the create_from methods from BigInteger
Instead we just use a specific constructor. With this set of
constructors using curly braces for constructing is highly recommended.
As then it will not do too many implicit conversions which could lead to
unexpected loss of data or calling the much slower double constructor.

Also to ensure we don't feed (Un)SignedBigInteger infinities we throw
RangeError earlier for Durations.
2022-08-26 19:18:26 +01:00
..
Algorithms Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
SignedBigInteger.cpp LibCrypto: Add a constructor to (Un)SignedBigInteger taking a double 2022-08-26 19:18:26 +01:00
SignedBigInteger.h LibCrypto+LibJS: Remove the create_from methods from BigInteger 2022-08-26 19:18:26 +01:00
UnsignedBigInteger.cpp LibCrypto: Add a constructor to (Un)SignedBigInteger taking a double 2022-08-26 19:18:26 +01:00
UnsignedBigInteger.h LibCrypto+LibJS: Remove the create_from methods from BigInteger 2022-08-26 19:18:26 +01:00