isPositive returns true for zero
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 207
Closed
Closed
Labels
Description
opened
on Jul 7, 2021Long.ZERO.isPositive() returns true. This is not the usual meaning of "is positive". Perhaps update the documentation to indicate non-negative? (Since it's probably not feasible to change the API to return false for zero.)
Metadata
Metadata
Assignees
No one assigned
Labels
Projects
No projects
Milestone
No milestone
Relationships
None yet
Development
No branches or pull requests
Issue actions