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

Stop panicking when trying to parse numbers bigger than 2^64. #13

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

JeffFaer
Copy link
Collaborator

Before: panic: mixedNumberPattern yielded an unparseable int: strconv.ParseInt: parsing "99999999999999999999999999999999999999999999999": value out of range

@JeffFaer JeffFaer force-pushed the jfaer/big_int branch 3 times, most recently from d58c0cc to d5c1ab7 Compare December 15, 2023 22:04
keepsorted/options.go Outdated Show resolved Hide resolved
Before: panic: mixedNumberPattern yielded an unparseable int: strconv.ParseInt: parsing "99999999999999999999999999999999999999999999999": value out of range
keepsorted/options.go Show resolved Hide resolved
@JeffFaer JeffFaer merged commit 9fd0a48 into main Dec 18, 2023
5 checks passed
@JeffFaer JeffFaer deleted the jfaer/big_int branch December 18, 2023 15:35
JeffFaer added a commit that referenced this pull request Dec 18, 2023
This is what I get for not running the regression test before submitting #13.

Before: `panic: mixedNumberPattern yielded an unparseable int: math/big: cannot unmarshal "09" into a *big.Int`
JeffFaer added a commit that referenced this pull request Dec 19, 2023
This is what I get for not running the regression test before submitting
#13.

Before: `panic: mixedNumberPattern yielded an unparseable int: math/big:
cannot unmarshal "09" into a *big.Int`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants