M
Malcolm McLean
Yes. Counting on is how you do addition, without reallyOn 05/21/2013 04:44 AM, Malcolm McLean wrote:
for ordinary numbers being added by people, the difference > between 3+42 as "counting on" and 3+42 as "arithmetic"
depends upon how the person thinks about the process.
understanding that you are adding two values.
Actually, if we define addition as operation one,
multiplication as operation two, exponentiation as
operation three, then there's a "operation zero" which bears
the same relation to addition as addition does to
multiplication.
Operation zero is "a plus count of a's". So it's a counting
operation, you start from a then count one for each time
the value a appears in the list.
Looking at the machine code is a distraction. There mightHowever, for pointers being added by a computer, array[42]
is inherently "counting on", regardless of how the
computer implements it, even though the way that the
computer handles it has no meaningful similarity to the
way human beings do "counting on"?
be an explicit "array + 42" op code in there, there
might not. The store might even be optimised out to a
temporary register.