Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: How to get better exponentiation?

by salva (Canon)
on Jan 22, 2022 at 16:22 UTC ( #11140717=note: print w/replies, xml ) Need Help??


in reply to How to get better exponentiation?

Note that Perl converts 1/3 to a floating point number which is close but not exactly 1/3.

Then, -8 powered to that 1/3 aproximation is not a real number but a complex one (well, actually a very big set of roots).

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2022-10-06 10:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (26 votes). Check out past polls.

    Notices?