如何在 C 程序中使用幂函数 (
pow
)?
#include <math.h>
double pow(double x, double y); // where x is the base, y is the exp
#include <math.h>
double pow(double x, double y);
float powf(float x, float y);
long double powl(long double x, long double y);