rhkramer writes:
> Some examples from (simple) math include adding zero or multiplying by
> 1.

Those are respectively the additive and multiplicative identities.  They
are, of course, idempotent but not good examples because they never
change the operand even on first application.

A better example of an idempotent operator is the absolute value
operator.

> An example from "real life" could be pressing the on (or off) button
> on some electronic device.

That's a good one.
-- 
John Hasler 
j...@sugarbit.com
Elmwood, WI USA

Reply via email to