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

No overflow on NaN->integer #5460

Closed
hiiamboris opened this issue Jan 1, 2024 · 0 comments
Closed

No overflow on NaN->integer #5460

hiiamboris opened this issue Jan 1, 2024 · 0 comments
Assignees
Labels
status.built A change in codebase has been done to address the ticket. status.tested The change in code has been manually tested and verified to fix the issue. test.written A regression test has been written and tested for the ticket. type.bug Ticket describes an abnormal behavior, not conforming to the specs or expectation.
Milestone

Comments

@hiiamboris
Copy link
Collaborator

Describe the bug

>> to integer! 1.#nan
== -2147483648

Propagates errors further.

Expected behavior

Script Error: integer! overflow/underflow

Platform version
Red 0.6.4 for Windows built 30-Dec-2023/17:13:04+03:00 commit #f8f2559

@hiiamboris hiiamboris added the type.bug Ticket describes an abnormal behavior, not conforming to the specs or expectation. label Jan 1, 2024
@dockimbel dockimbel self-assigned this Jan 9, 2024
@dockimbel dockimbel added this to the 0.7.0 milestone Jan 9, 2024
@dockimbel dockimbel added status.built A change in codebase has been done to address the ticket. status.tested The change in code has been manually tested and verified to fix the issue. test.written A regression test has been written and tested for the ticket. labels Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status.built A change in codebase has been done to address the ticket. status.tested The change in code has been manually tested and verified to fix the issue. test.written A regression test has been written and tested for the ticket. type.bug Ticket describes an abnormal behavior, not conforming to the specs or expectation.
Projects
None yet
Development

No branches or pull requests

2 participants