The same thing is also discussed in Re: Illegal Modulus zero.
In reply to Re: 0 illegal modulus? by ambrus in thread 0 illegal modulus? by nella