mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 01:37:39 +03:00
48a3a02238
Previously, constructing a `UnsignedBigInteger::from_base()` could produce an incorrect result if the input string contained a valid Base36 digit that was out of range of the given base. The same method would also crash if the input string contained an invalid Base36 digit. An error is now returned in both these cases. Constructing a BigFraction from string is now also fallible, so that we can handle the case where we are given an input string with invalid digits. |
||
---|---|---|
.. | ||
Algorithms | ||
SignedBigInteger.cpp | ||
SignedBigInteger.h | ||
UnsignedBigInteger.cpp | ||
UnsignedBigInteger.h |