Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

0 is not a positive number.


sort by: page size:

How Is 0 not positive?

Zero isn't a positive integer.

0 isn't false.

Zero is neither positive nor negative

"0 is neither positive nor negative." https://en.wikipedia.org/wiki/0_%28number%29#Mathematics

Zero is positive and negative

0 is a nonnegative number.

0=

0 === -0

0 (zero) does not work.

Any 0 you see is a zero, not an O.

No, 0 is definitely a number.

This should be covered in school.

Zero is positive. Mathematicians use some silly convention where zero is "neither positive nor negative," while any sensible programmer can tell you it's positive since the sign bit is zero, like every other positive number.

The way schools teach our kids to count is clearly wrong too. Everyone knows that, when counting a collection of n items, you start at zero and end at n-1. There have been a good number of HN posts decrying the education system lately, but oddly enough none of them addressed this specific issue.


But 0*0 is 0

The number 0?

But the number is >0!

Doesn't negative imply nonzero? :)

Negative zero doesn't exist for integers either.

0 is also a thing.
next

Legal | privacy