Skip to content

Use positive number instead of non-negative number greater than zero #8926

Closed

Description

@annevk

https://www.w3.org/Bugs/Public/show_bug.cgi?id=7211#c2 has the historical argument for why it is this way, but searching around for "positive number" and "positive integer" I don't really find evidence of such confusion.

Activity

  1. added
    clarification
    on Feb 21, 2023
  2. deleted a comment from on Feb 22, 2023
  3. tabatkins commented on Feb 22, 2023

    @tabatkins
    Contributor

    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.

  4. added a commit that references this issue on Feb 27, 2023
    a32ab9b
  5. added
    topic: reflect
    on Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    clarificationtopic: reflect

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions