Currently At: Programming Reference > C Reference > Standard C Math > pow()

pow()


Syntax:
#include <math.h>
double pow( double base, double exp );


Description:
The pow() function returns base raised to the exp power. There's a domain error if base is zero and exp is less than or equal to zero. There's also a domain error if base is negative and exp is not an integer. There's a range error if there's an overflow.

Related Topics:
exp(), log(), sqrt()


Web Standards & Support:

Link to and support eLook.org Powered by LoadedWeb Web Hosting
Valid XHTML 1.0! Valid CSS! eLook.org FireFox Extensions