Michael Malone
3/19/2009 9:08:00 PM
Sebastian Hungerecker wrote:
> Michael Malone wrote:
>
>> Though there is one thing I would like to point out: 0 % 7 = 0
>> So 'remainder' is not strictly true
>>
>
> Sorry I don't follow you. What's the remainder of 0/7 if not 0?
> 0-7*0 is 0, is it not?
>
> Confused,
> Sebastian
>
>
Many people I know and work with simplify the modulo operator to
themselves as remainder, so mentally (whether or not it is correct)
assume 0/7 = 0 r 7
I am just making an explicit example of this not necessarily obvious
case. It's totally fine when one knows the semantics of modulo, it's
the simplification to remainder that many people make that causes
problems here.
Michael
=======================================================================
This email, including any attachments, is only for the intended
addressee. It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
altered or corrupted during transmission.
=======================================================================