Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't parse 1e+30 as BigInteger, java.lang.NumberFormatException #263

Open
ar-g opened this issue Jun 27, 2023 · 0 comments
Open

Can't parse 1e+30 as BigInteger, java.lang.NumberFormatException #263

ar-g opened this issue Jun 27, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ar-g
Copy link

ar-g commented Jun 27, 2023

Describe the bug
Can't parse 1e+30 as BigInteger, java.lang.NumberFormatException

Stacktrace

22:53:58.275 System.err              java.lang.NumberFormatException: e is not a valid digit for number system with base 10
22:53:58.276 System.err              	at com.ionspin.kotlin.bignum.integer.util.DigitUtilKt.toDigit(DigitUtil.kt:38)
22:53:58.276 System.err              	at com.ionspin.kotlin.bignum.integer.base63.array.BigInteger63Arithmetic.parseForBase-_llDaS8(BigInteger63Arithmetic.kt:1939)
22:53:58.276 System.err              	at com.ionspin.kotlin.bignum.integer.BigInteger$Companion.parseString(BigInteger.kt:122)
22:53:58.276 System.err              	at com.ionspin.kotlin.bignum.integer.BigInteger$Companion.parseString(BigInteger.kt:74)
22:53:58.276 System.err              	at com.ionspin.kotlin.bignum.BigNumber$Creator$DefaultImpls.parseString$default(BigNumber.kt:36)
@ionspin ionspin self-assigned this Jun 28, 2023
@ionspin ionspin added the enhancement New feature or request label Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants