code.pyret.org
code.pyret.org copied to clipboard
1e100000000000000 generates internal error
Came up in PD today
This is kinda interesting.
- The provided example,
1e100000000000000, immediately throws a stack overflow. - Much smaller examples, like
1e1000, simply evaluate, though progressively slower, as you would expect. - But inbetween examples, like
1e1000000, simply keep running, not throwing an error but taking up all the CPU so that nothing else can run in that tab:
This is a duplicate of https://github.com/brownplt/pyret-lang/issues/1479, FWIW.