rand()
----隨機(jī)數(shù)
abs() / labs()
----整數(shù)絕對(duì)值
fabs() / fabsf() / fabsl()
----浮點(diǎn)數(shù)絕對(duì)值
floor() / floorf() / floorl()
----向下取整
ceil() / ceilf() / ceill()
----向上取整
round() / roundf() / roundl()
----四舍五入
sqrt() / sqrtf() / sqrtl()
----求平方根
fmax() / fmaxf() / fmaxl()
----求最大值
fmin() / fminf() / fminl()
----求最小值
hypot() / hypotf() / hypotl()
----求直角三角形斜邊的長度
fmod() / fmodf() / fmodl()
----求兩數(shù)整除后的余數(shù)
modf() / modff() / modfl()
----浮點(diǎn)數(shù)分解為整數(shù)和小數(shù)
frexp() / frexpf() / frexpl()
----浮點(diǎn)數(shù)分解尾數(shù)和二為底的指數(shù)
sin() / sinf() / sinl()
----求正弦值
sinh() / sinhf() / sinhl()
----求雙曲正弦值
cos() / cosf() / cosl()
----求余弦值
cosh() / coshf() / coshl()
----求雙曲余弦值
tan() / tanf() / tanl()
----求正切值
tanh() / tanhf() / tanhl()
----求雙曲正切值
asin() / asinf() / asinl()
----求反正弦值
asinh() / asinhf() / asinhl()
----求反雙曲正弦值
acos() / acosf() / acosl()
----求反余弦值
acosh() / acoshf() / acoshl()
----求反雙曲余弦值
atan() / atanf() / atanl()
----求反正切值
atan2() / atan2f() / atan2l()
----求坐標(biāo)值的反正切值
atanh() / atanhf() / atanhl()
----求反雙曲正切值