>> there are function-name conflicts, particularly with "log", and I don't have leave to go and change all the conflicting function names in this program
I would make the time to do that, since you'll have to make the changes anyway if you use your own code to implement log and pow. Conflicts aren't magically resolved by providing a different implementation ;)
Or maybe I'm misunderstanding the issue.
In any case, if you want your own implementation of pow, you could do exp(b * log(a)) which is the same as pow(a, b).
Or you can take the code from glibc compiler for example.
Main Topics
Browse All Topics





by: _phoenix_Posted on 2009-09-24 at 09:17:49ID: 25415005
What do you have coded so far? I think there is already a solution in the EE.
e.com/Prog ramming/La nguages/C/ Q_20786971 .html?sfQu eryTermInf o=1+functi on+pow
http://www.experts-exchang