Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: How to get better exponentiation?

by LanX (Saint)
on Jan 22, 2022 at 14:54 UTC ( [id://11140711]=note: print w/replies, xml ) Need Help??


in reply to Re: How to get better exponentiation?
in thread How to get better exponentiation?

> Note that the floating point value 1/3 is not the same as the rational value 1/3,

Good point, that might explain why it's considered undefined behavior by many.

And an approximation algorithm designed to work with floating point exponents won't be able to handle anything like 1/$odd differently.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-20 01:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found