Bryan R Harris schreef:

> Can someone explain this behavior?
>
> % perl -e 'print -12.17**0.2, "\n"'
> -1.64838295714428
> % perl -e 'print (-12.17)**(0.2), "\n"'
> -12.17% perl -e 'print ((-12.17)**(0.2)), "\n"'
> nan%

Use "perl -we ...", or "perl -Mwarnings -e ...".

-- 
Affijn, Ruud

"Gewoon is een tijger."



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to