Hi!

This may sound as a very stupid question, but here it comes anyways. Has 
anybody come across a function that wold calculate the power of a number, 
like the pow function in C. Simply, x to the power of y.
I know of 2 options, one an inefficient iterative multiplication, but I have 
real numbers as power, so that is ruled out. Another is to do something like 
this: exp(y*log x), but is an approximation. So, please do let me know if 
there is any other more accurate way of doing it.

Thanks,
Prachi.



_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to