in reply to Re: Help w/ Code Optimization

in thread Help w/ Code Optimization

I tried calculating the roots with logarithms, but the problem with that is that the built-in

My C and C++ skills are virtually non-existent, so sadly, that option isn't really available to me. This might be a good time to improve those skill, eh? ;-)

___________________

Kurt

`log()`function is only accurate to a fixed number of places. Other than the logarithm method and Newton's method, I don't know of any other ways to calculate roots. Does anyone know how to calculate a logarithm manually? That is, calculate a logarithm*without*using the built-in`log()`function?My C and C++ skills are virtually non-existent, so sadly, that option isn't really available to me. This might be a good time to improve those skill, eh? ;-)

___________________

Kurt

In Section
Seekers of Perl Wisdom