- 论坛徽章:
- 0
|
哪位可以把c++中的常用数学函数都列一列啊
abs Return absolute value of integer parameter
acos Calculate arccosine
asin Calculate arcsine
atan Calculate arctangent
atan2 Calculate arctangent, 2 parameters
atof Convert string to double
ceil Return the smallest integer that is greater or equal to x
cos Calculate cosine
cosh Calculate hyperbolic cosine
exp Calculate exponential
fabs Return absolute value of floating-point
floor Round down value
fmod Return remainder of floating point division
frexp Get mantissa and exponent of floating-point value
labs Return absolute value of long integer parameter
ldexp Get floating-point value from mantissa and exponent
log Calculate natural logarithm
log10 Calculate logarithm base 10
modf Spli floating-point value into fractional and integer parts
pow Calculate numeric power
sin Calculate sine
sinh Calculate hyperbolic sine
sqrt Calculate square root
tan Calculate tangent
tanh Calculate hyperbolic tangent |
|