Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Fix is-int and is-float attributes of number using as-bytes #146

Closed
c71n93 opened this issue Oct 23, 2023 · 0 comments · Fixed by #147
Closed

Fix is-int and is-float attributes of number using as-bytes #146

c71n93 opened this issue Oct 23, 2023 · 0 comments · Fixed by #147

Comments

@c71n93
Copy link
Member

c71n93 commented Oct 23, 2023

We are planning to make eq attribute to be an atom objectionary/eo#2547.
Attributes is-float and is-int of object number assumes, that 0.0 is not equals to -0.0. After closing objectionary/eo#2547 this won't be true. Thus, we need to move logic of 0.0 and -0.0 comparison from current eq attribute to is-float and is-int attributes, and compare this values "as-bytes".

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant