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

Comparing blocks with a 1.#NaN value always fails #2494

Closed
Oldes opened this issue May 6, 2022 · 0 comments
Closed

Comparing blocks with a 1.#NaN value always fails #2494

Oldes opened this issue May 6, 2022 · 0 comments
Labels

Comments

@Oldes
Copy link
Owner

Oldes commented May 6, 2022

Currently there is:

>> equal? 1.#nan 1.#nan
== false ;<--- could be true

>> strict-equal? 1.#nan 1.#nan
== false;<--- this one is fine

>> equal? [1.#NaN] [1.#NaN]
== false ;<--- could be true

>> [1.#NaN] = sort [1.#NaN]
== false ;<--- could be true

Related to: #1902 and #2493

@Oldes Oldes added Test.written Oldes.resolved Bugs/wishes with Oldes' fixes/features labels May 6, 2022
Oldes added a commit to Oldes/Rebol3 that referenced this issue Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant