The previous code had two problems:
(1) Overflows were sometimes not detected when the string had a suffix. (2) Strings with a suffix that were big integers would fail (strings
with suffixes that were not a big integer worked).
This commit also fixes a related bug in numeric(), which uses string conversion.
The previous code had two problems: (1) Overflows were sometimes not detected when the string had a suffix. (2) Strings with a suffix that were big integers would fail (strings with suffixes that were not a big integer worked).
This commit also fixes a related bug in numeric(), which uses string conversion.