top | item 9738565 Is-postive – The most pointless NPM repository 5 points| alexrbarlow | 10 years ago |github.com 4 comments order hn newest cedric123|10 years ago How Is 0 not positive? alexrbarlow|10 years ago Maybe it was! https://github.com/kevva/is-positive/commit/3db0639fb52c463f... andystevens91|10 years ago "0 is neither positive nor negative." https://en.wikipedia.org/wiki/0_%28number%29#Mathematics spleeder|10 years ago Actually there is a positive 0 and a negative 0 in JavaScript. Try 1/+0 and 1/-0 in your browser console and notice how the result is different for each (+Infinity and -Infinity respectively). unknown|10 years ago [deleted]
cedric123|10 years ago How Is 0 not positive? alexrbarlow|10 years ago Maybe it was! https://github.com/kevva/is-positive/commit/3db0639fb52c463f... andystevens91|10 years ago "0 is neither positive nor negative." https://en.wikipedia.org/wiki/0_%28number%29#Mathematics spleeder|10 years ago Actually there is a positive 0 and a negative 0 in JavaScript. Try 1/+0 and 1/-0 in your browser console and notice how the result is different for each (+Infinity and -Infinity respectively).
alexrbarlow|10 years ago Maybe it was! https://github.com/kevva/is-positive/commit/3db0639fb52c463f...
andystevens91|10 years ago "0 is neither positive nor negative." https://en.wikipedia.org/wiki/0_%28number%29#Mathematics
spleeder|10 years ago Actually there is a positive 0 and a negative 0 in JavaScript. Try 1/+0 and 1/-0 in your browser console and notice how the result is different for each (+Infinity and -Infinity respectively).
cedric123|10 years ago
alexrbarlow|10 years ago
andystevens91|10 years ago
spleeder|10 years ago
unknown|10 years ago
[deleted]