oppiliappan / eva

a calculator REPL, similar to bc(1)
MIT License
823 stars 29 forks source link

[Crash Report] Array out of bounds in eva::format::pprint maybe? #31

Closed evanrichter closed 4 years ago

evanrichter commented 4 years ago

2^63

oppiliappan commented 4 years ago

are you by chance, using the version on crates.io (that is pretty outdated), ill make a new release soon, i have got too many things on my hands right now.

the newest release would give you the right output (but it would still crash on large multiplications):

> 2^63
9,223,372,036,854,775,808.0
evanrichter commented 4 years ago

yep that was the problem. will use version from github for now :)