On Sat, Jan 19, 2019 at 7:37 PM David Storrs <david.sto...@gmail.com> wrote:

>
>
> On Fri, Jan 18, 2019, 6:36 PM George Neuner <gneun...@comcast.net wrote:
>
>>
>>  witness the legions of newbies every
>> year who don't understand that computer arithmetic differs from the math
>> they were taught in school.
>>
>
> Does it? Bit of a philosophical question, it seems. I mean, so long as you
> stick with integers, if you start with the same numbers and run them
> through the same operations then you will end up with the same results
> regardless of whether you did it on paper or in a computer. Things get a
> little weird once you start going into floating point, but I contend that
> that's a difference in implementation/representation, not in math.
>

Even integers operations behave differently on computers than in math. Most
programming languages (or implementations) have 32- or 64-bit integers.

ob. xkcd: https://xkcd.com/571/

[image: image.png]

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to