Skip to content

[css-values-4] positive zero has reference(s) or is defined? #8034

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

Closed
himorin opened this issue Nov 7, 2022 · 1 comment
Closed

[css-values-4] positive zero has reference(s) or is defined? #8034

himorin opened this issue Nov 7, 2022 · 1 comment

Comments

@himorin
Copy link
Contributor

himorin commented Nov 7, 2022

(related to 7472?) Signed zero are used in css-values-4 spec for several kinds of mathematical operation especially ones related to infinite, like stepped value functions, and "negative zero" has its reference for its concept (definition-ish?) as

Additionally, IEEE-754 introduces the concept of "negative zero", which must be tracked within a calculation and between nested calculations:

in Type Checking section (although there is no normative nor informative reference to there), but I could not find any text for positive zero.

It seems for me is should be better to have some clear concept (or definition?) for these signed zero by text or by reference. OR, "negative zero" in cited text above should be "signed zero"?

@tabatkins
Copy link
Member

I've clarified the text slightly to talk about "signed zero" and then explicitly mentioned that any zero produced by a calculation that isn't defined to be negative zero is instead positive zero.

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

No branches or pull requests

3 participants