> From: "Tanton Gibbs" <[EMAIL PROTECTED]>
> Date: Thu, 14 Nov 2002 15:00:57 -0500
> 
> > >   Inf - Inf     NaN
> > 
> > I'd expect 0.
> 
> I'd expect Inf

Which Inf is bigger?  Inf, or Inf?

You can't know, so it's NaN.

> > 
> > >   Inf * $N      Inf 
> >                   ^^^
> > presumably you meant -Inf here
> 
> Why?

$N represents a negative number.

Another thing, I remember you said:

    $P ** Inf       Inf

Which is not true.

It's actually

                  { 0  , $P < 1
    $P ** Inf     { 1  , $P == 1
                  { Inf, $P > 1

But perhaps we could forgo documenting any of the power cases and
leave it to common sense.  OTOH, we could document every last detail.
I think the latter would be more suited to the goal of the project.

Luke

Reply via email to