Skip to content

1e100000000000000 generates internal error #447

New issue

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

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

Already on GitHub? # to your account

Open
schanzer opened this issue Jul 26, 2022 · 2 comments
Open

1e100000000000000 generates internal error #447

schanzer opened this issue Jul 26, 2022 · 2 comments

Comments

@schanzer
Copy link

Came up in PD today

@schanzer schanzer changed the title 1e100000000000000 generates interna error 1e100000000000000 generates internal error Jul 26, 2022
@asolove
Copy link
Contributor

asolove commented Jan 21, 2024

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:
image

@sorawee
Copy link
Contributor

sorawee commented Jan 21, 2024

This is a duplicate of brownplt/pyret-lang#1479, FWIW.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants