![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re: Re: Re: Re: Re: 0**0by scain (Curate) |
on Jan 16, 2003 at 18:37 UTC ( #227450=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|