Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: root function

by igelkott (Priest)
on Jun 22, 2008 at 09:25 UTC ( [id://693351]=note: print w/replies, xml ) Need Help??


in reply to Re^2: root function
in thread root function

calling ** a home-made function

I wouldn't call the ** operator a "function" at all. ;-)

I didn't mean anything wrong by home-made but just tried to answer the op literally with an alternative solution. Nothing too serious.

Replies are listed 'Best First'.
Re^4: root function
by ikegami (Patriarch) on Jun 22, 2008 at 15:19 UTC
    You apparently missed my point: Your solution has the same problems as **:
    >perl -le"use POSIX qw( pow ); print pow(-3, 1/3); -1.#IND

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://693351]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-04-18 13:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found