Maarten ter Huurne escribi�:
> Jorge Vidal Wulff wrote:
> 
> >This is *VERY* inefficient,try my algorithm. X^n=exp(n*ln(x))
> 
> I'm not sure which is more efficient. How sure are you that "exp" and "ln"
> will execute faster than the program above?

I think so,because,the program "above" uses lot's of ifs and
whiles,which are
very CPU-consumming.


-- 
Jorge Vidal Wulff 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Licenciatura en ciencia de la computaci�n.
Depto. de Matem�tica y ciencia de la Computaci�n.
Universidad de Santiago de Chile - USACH.

****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****

Reply via email to