You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.
Every method that produces a set does a "If nextValue is -0𝔽, set nextValue to +0𝔽.". This looks unnecessary because we don't do the same normalization on this, and neither is this normalization expected. Since we use SameValueZero, there's no need to normalize zeros. This seems to be planned for removal: #75 (comment) but never addressed.
The text was updated successfully, but these errors were encountered:
I'm not sure I understand the question. Sets cannot contain -0by construction. So whenever we're constructing a set by creating its [[SetData]] slot directly, we need to avoid putting -0 in it.
Since we use SameValueZero, there's no need to normalize zeros.
I don't know which use of SameValueZero you're talking about. There's one in SetDataHas, but that's not always sufficient - for example, consider
Every method that produces a set does a "If nextValue is -0𝔽, set nextValue to +0𝔽.". This looks unnecessary because we don't do the same normalization on
this
, and neither is this normalization expected. Since we use SameValueZero, there's no need to normalize zeros. This seems to be planned for removal: #75 (comment) but never addressed.The text was updated successfully, but these errors were encountered: