主页
C 语言
C Math atan() 函数
demo_ref_math_atan
运行 ❯
×
更改方向
保存代码
更改主题
#include
#include
int main() { printf("%f\n", atan(0.5)); printf("%f\n", atan(-0.5)); printf("%f\n", atan(5)); printf("%f\n", atan(-5.0)); printf("%f\n", atan(100.0)); printf("%f\n", atan(-100.0)); return 0; }
0.463648
-0.463648
1.373401
-1.373401
1.560797
-1.560797