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?? |
> 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
In Section
Seekers of Perl Wisdom
|
|