In article <[EMAIL PROTECTED]>, Darren Duncan <[EMAIL PROTECTED]> wrote:
> At 3:20 PM -0500 10/6/07, brian d foy wrote: > >For comparisons, how are we going to use Inf and NaN? Are those going > >to be special flyweight objects, so: > > > > $x = 1 / 0; > > > > $x == Inf; # is it the same value > > $x === Inf; # it is always the same object > them. By contrast, the =:= operator always tests if 2 things are the > same object or not, even for those of value types. Maybe the belongs in "Comparison types" in S02 too :) So, then, back to the question. People don't care how it's implemented (and it would be great if we didn't have to explain it). What's the idiom for the comparison going to be?