C 语言数学函数 数学库是 C 编程语言标准库的一部分。所有的 C 语言数学函数都接受一个 double 数据类型的参数作为输入,并返回一个 double 类型的值。然而,pow() 函数接受两个参数,并生成一个 double 数据类型的幂。 abs acos asin atan atan2 cbrt ceil cos cosh exp fabs floor hypot log log10 pow round sin sinh sqrt tan tanh trunc