gpt4 book ai didi

c - 哪个库有幂函数?

转载 作者:行者123 更新时间:2023-11-30 21:47:20 25 4
gpt4 key购买 nike

我是初学者 C 程序员...我想在我的程序中使用幂函数,但是,我没有找到任何具有幂函数的库?请介绍一个有此功能的库

最佳答案

#include <math.h>
double pow(double x, double y); // where x is the base, y is the exp

关于c - 哪个库有幂函数?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32465942/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com