comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <sb463ba@l1-hrz.uni-duisburg.de>
Subject: Re: Natural data type ?
Date: Fri, 29 Mar 2002 16:19:03 +0000 (UTC)
Date: 2002-03-29T16:19:03+00:00	[thread overview]
Message-ID: <a8245n$3gp$1@a1-hrz.uni-duisburg.de> (raw)
In-Reply-To: 3CA347EC.5000902@oek.dk

Peter I. Hansen <pih@oek.dk> wrote:

: No, this is a misunderstanding. The natural numbers are defined to be 
: the numbers you can count to.

There exists a book, the author of which has defined the
natural numbers such that "You can count to 1, you can count to 2, 
: you can count to 3, ... and so forth." (Does there exist
a book on theretical computer science that defines N without 0?)

: You cannot count to Zero.
How many coins will this ticket vending machine throw out?
How do you answer that questions with N = {1,2,...}?

If you read characters into storage from some input
you count how many have arrived. There might be zero.
I like this very natural idea.

What is the neutral element when you want to do the very natural
thing of adding natural numbers? (O.K., that leads nowhere. But
you see an advantage, do you?)

OTOH, positive has a meaning outside mathematics.  And even if
you do not refer to Latin, take medicine.
A test may be positive, because there was at least one thing
that makes the doctors say so.

: 
: The question 'How many?' is the reason for defining other numbers than 
: natural.
: 'Q: How many apples did you eat ? A: 2 and a half (=2.5 a rational number)'.

That is dealt with by computers by introducing half-apples :-)

- Georg



      parent reply	other threads:[~2002-03-29 16:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-27  2:13 Natural data type ? Peter I. Hansen
2002-03-27  2:57 ` Chad R. Meiners
2002-03-27 23:18   ` Peter I. Hansen
2002-03-28  3:55     ` Chad R. Meiners
2002-03-28 15:40       ` Marin David Condic
2002-03-28 16:47       ` Peter I. Hansen
2002-03-27 14:25 ` Marin David Condic
2002-03-28 16:45   ` Peter I. Hansen
2002-03-28 16:30 ` Georg Bauhaus
2002-03-28 16:42   ` Peter I. Hansen
2002-03-28 18:33     ` Darren New
2002-03-29 16:19     ` Georg Bauhaus [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox