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 }}
Repository navigation
Use positive number instead of non-negative number greater than zero #8926
I agree with Ian's historical argument that "positive", by itself, is genuinely unclear whether zero is included or not. Whether zero is positive, negative, or neither varies by context (in the real numbers it's neither, in JS it's either positive or negative, etc), so one cannot infer generally that "positive" includes or excludes zero.
However, I agree that the wording currently used is awkward. I recommend "positive non-zero number", as a shorter and either equally or more clear wording.
Activity
Make reflect work for ElementInternals
Editorial: formalize reflect's default value
tabatkins commentedon Feb 22, 2023
I agree with Ian's historical argument that "positive", by itself, is genuinely unclear whether zero is included or not. Whether zero is positive, negative, or neither varies by context (in the real numbers it's neither, in JS it's either positive or negative, etc), so one cannot infer generally that "positive" includes or excludes zero.
However, I agree that the wording currently used is awkward. I recommend "positive non-zero number", as a shorter and either equally or more clear wording.
Editorial: formalize reflect's default value