主页
C 语言
C Math exp() 函数
demo_ref_math_exp
运行 ❯
×
更改方向
保存代码
更改主题
#include
#include
int main() { printf("%f\n", exp(0)); printf("%f\n", exp(1)); printf("%f\n", exp(10)); printf("%f\n", exp(4.8)); printf("%f\n", exp(2.718)); return 0; }
1.000000
2.718282
22026.465795
121.510418
15.149992