Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: How to get better exponentiation?

by syphilis (Archbishop)
on Jan 22, 2022 at 13:43 UTC ( [id://11140710]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    C:\>perl -MMath::MPFR=":mpfr" -le "$op = Math::MPFR->new(-9117 ** 3); 
    +Rmpfr_cbrt($op, $op, MPFR_RNDN); print $op;"
    -9.117e3
    
  2. or download this
    C:\>perl -MMath::MPFR=":mpfr" -le "$op = Math::MPFR->new(-9117 ** 3); 
    +Rmpfr_rootn_ui($op, $op, 3, MPFR_RNDN); print $op;"
    -9.117e3
    

Log In?
Username:
Password:

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

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

    No recent polls found