
March 20, 2010
1:22 a.m.
Glenn Linderman wrote:
In order to do implicit comparisons, one must do an implicit coercion. Hence the PEP actually already prohibits implicit comparisons, as well as implicit arithmetic.
Not necessarily -- you could compare them as though they had both been converted to the equivalent rational numbers, which can be done without loss of precision. -- Greg