Poll: Is “-3” a whole number?
I've been having a discussion with a number of parents, teachers, mathematicians, engineers, and others, about what exactly is a "whole number."
Opinions vary, and it's certainly possible just to come up with a technical definition and say "That's the most convenient, that's what we'll use." But I'm interested to know what the community here on HN thinks.
Is "-3" a whole number?
14 comments
[ 3.1 ms ] story [ 40.8 ms ] threadMy feeling now is I don't suppose it really matters how you define them. :)
#include <stdio.h>
int main(int argc, char *argv[]) {
return 0;}
Some people say whole numbers are not negative, while other people say zero is also not a whole number.
http://mathworld.wolfram.com/WholeNumber.html
That should be enough for you to deduce what I believe whole numbers are.
I should add, for a mathematical audience, I'd be careful, because of possible confusion, and insist on saying positive integers, and non-negative integers in the case of what I'd call the natural numbers.
Note that 'real numbers' include 'whole numbers' as a sub-set.