in reply to Re: Re: Re: Re: 0**0
in thread 0**0

Yes, I was somewhat disturbed by what Abigail-II reported for Perl 4; one would hope for consistency. I assume you've looked in the Perl source code to see how it evaluates 0**0? I would guess that it uses the operating system's math tools. I guess you are going to have to check for zeroes anyway, and set the value as an exception to be safe. Ugly, but it should work.

Scott
Project coordinator of the Generic Model Organism Database Project

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: 0**0
by Juerd (Abbot) on Jan 16, 2003 at 19:59 UTC

    I assume you've looked in the Perl source code to see how it evaluates 0**0?

    Not really. I don't know C and Perl's source looks like a sendmail configuration file to me. :))

    Juerd
    - http://juerd.nl/
    - spamcollector_perlmonks@juerd.nl (do not use).