Execution time bottleneck: How to speed up execution?

Chengi Jimmy Kuo cjkuo at locus.com
Sun Feb 17 19:32:37 AEST 1991


"Use a faster exp()" is the correct answer.  Only you the programmer know
about such things as digits of accuracy, whether you can work in ints or
fixed decimals, other things that could be designed into your private exp().
Also in your exp(), you can handle the concept that e**(kx) => (e**k)**x as
well as reducing your expression.

Jimmy Kuo
-- 
cjkuo at locus.com
"The correct answer to an either/or question is both!"



More information about the Comp.lang.c mailing list