In article <[EMAIL PROTECTED]>, brian d foy

> I'm thinking about how to explain Perl 6's numbers to the beginners
> just picking up Learning Perl 6. I had some questions about NaN and Inf
> (which I can't just try since neither Parrot or Pugs appear to know
> about these yet).

Oi, sent that before I was done writing it. I was looking way back into
the past at "Numeric literals, take 1"

and wondering how much of that is should be in S02.

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

Reply via email to