in reply to Re^2: Meaning Of error in perl
in thread Meaning Of error in perl
That's not quite true, actually. Division by zero is impossible -- that is to say, zero does not have a multiplicative inverse -- in any field or indeed any ring, but general rings can have zero divisors (i.e., there may be a non-zero element a for which there exists a non-zero element b such that ab = 0).
If n is a composite number, then the quotient ring Z/nZ (basically the same as the integers, but with addition and multiplication carried out mod n) is an easy and natural example. Suppose that n = p * q for some p and q; [p] and [q] are elements of this ring, but since we're multiplying mod n, we've got [p] * [q] = [n] = [0].
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Meaning Of error in perl
by Laurent_R (Canon) on Jul 08, 2014 at 21:31 UTC | |
by Anonymous Monk on Jul 08, 2014 at 23:52 UTC | |
by Laurent_R (Canon) on Jul 09, 2014 at 06:53 UTC |