<?xml version="1.0" encoding="windows-1252"?>
<node id="89002" title="Re: 0 illegal modulus?" created="2001-06-16 03:35:57" updated="2005-07-21 01:27:21">
<type id="11">
note</type>
<author id="31548">
jepri</author>
<data>
<field name="doctext">
You say:&lt;P&gt;
&lt;i&gt;

ps. why would I want to read a book on number theory to understand why a basic operator behaves the way it does?&lt;/i&gt;&lt;P&gt;
The answer is "So you know what you are talking about".  I admit I was too quick off the gun as well, however.  After some further research I found that the modulo function was devised by Abel in the 1700's to allow him to study large and complicated groups with only  pencil and  paper. &lt;P&gt; Modulo is hardly a basic operator.  It's just a basic operator for you because you've only ever used it in simple situations.&lt;P&gt;
Computer implementations of functions are usually nasty bastardisations of real math functions.  This is why the original poster mentioned Knuth, who did a lot of work involving math and computers.&lt;P&gt;
Incidentally,  'proof by random web pages' is a poor way of proving that you are right.&lt;P&gt;  &lt;p&gt;____________________&lt;BR&gt;
Jeremy&lt;BR&gt;
I didn't believe in evil until I dated it.</field>
<field name="root_node">
87384</field>
<field name="parent_node">
88604</field>
</data>
</node>
