2007年7月16日星期一

POW - power function.

POW - power function.

POW - power function.

(ANSI Standard)

Usage:

#include <math.h>
z = pow( x, y );

Where:

double x, y, z;
 

Description:

"pow" returns "x" to the power "y". If "x" and "y" are both zero, or if "x" is non-positive and "y" is not an integer, "pow" return -HUGE_VAL and sets "errno" to EDOM. If the answer would cause an overflow, "pow" returns +HUGE_VAL.

See Also:

expl c lib errno

Copyright © 1996, Thinkage Ltd.

没有评论: