You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With native BigInt, BigInt('+10') parses correctly as 10. Unfortunately, using this library, bigInt('+abc', 16) does not correctly parse as 0xabc, even though bigInt('-abc', 16) parses correctly as -0xabc.
This leads to inconsistencies in parsing when the base is equal to 10 compared to other bases. Not sure if I'll have time to submit a PR, but will probably do so if no one gets to this in the next few days.
The text was updated successfully, but these errors were encountered:
With native BigInt,
BigInt('+10')
parses correctly as 10. Unfortunately, using this library,bigInt('+abc', 16)
does not correctly parse as0xabc
, even thoughbigInt('-abc', 16)
parses correctly as-0xabc
.This leads to inconsistencies in parsing when the base is equal to 10 compared to other bases. Not sure if I'll have time to submit a PR, but will probably do so if no one gets to this in the next few days.
The text was updated successfully, but these errors were encountered: