in reply to Re: root function
in thread root function
ActivePerl:$ perl -le'print -3 ** (1/3)' -1.44224957030741
>perl -le"print -3 ** (1/3)" -1.44224957030741
Update: Oops, precedence problem
$ perl -le'print( (-3) ** (1/3) )' nan
>perl -e"print( (-3) ** (1/3) )" -1.#IND
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: root function
by psini (Deacon) on Jun 21, 2008 at 21:42 UTC | |
by ikegami (Patriarch) on Jun 21, 2008 at 21:58 UTC | |
by sasdrtx (Friar) on Jun 21, 2008 at 23:17 UTC | |
by psini (Deacon) on Jun 21, 2008 at 22:03 UTC |