Tuesday, July 28, 2009

Power function in "C" doesn't work with float??

Just realized that the power function - pow(x,3) - doesn't work with - float x. How can I work with exponenets while using real numbers?

Power function in "C" doesn't work with float??
C has different functions for different parameters. Look here:





http://www.delorie.com/gnu/docs/glibc/li...





and look for powf.


 


No comments:

Post a Comment