Skip to content

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

Merged
JeffFaer merged 1 commit intomainfrom
jfaer/big_int
Dec 18, 2023
Merged

Stop panicking when trying to parse numbers bigger than 2^64.#13
JeffFaer merged 1 commit intomainfrom
jfaer/big_int

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
Before: panic: mixedNumberPattern yielded an unparseable int: strconv.ParseInt: parsing "99999999999999999999999999999999999999999999999": value out of range
@JeffFaer JeffFaer merged commit 9fd0a48 into main Dec 18, 2023
@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