in reply to Re^2: [OT] Function to do x**y for |y|<1 w/o ** operator.
in thread [OT] Function to do x**y for |y|<1 w/o ** operator.
He has log, but not exp.
Perhaps there's also something helpful in Math::BigFloat's _pow() sub:
Rob
Perhaps there's also something helpful in Math::BigFloat's _pow() sub:
where (I gather)# Taylor: | u u^2 u^3 | # x ** y = 1 + | --- + --- + ----- + ... | # |_ 1 1*2 1*2*3 _|
Cheers,u = y * ln x
Rob
In Section
Seekers of Perl Wisdom