Comprehensive List of Mathematical Functions" />
English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
C++
Method | Description |
---|---|
abs() | Return the absolute value of the parameter |
acos() | Return the inverse cosine number |
acosh() | Return the hyperbolic cosine value of the number |
asin() | Return the arcsine value |
asinh() | Return the hyperbolic sine value of the number |
atan() | Return the arctangent number |
atan2() | Return the arctangent of the coordinates |
atanh() | Return the hyperbolic arctangent of the number |
cbrt() | Calculate the cube root of the number |
ceil() | Return the upper limit value of the number |
copysign(x,y) | It returns the magnitude of x with the sign of y |
cos() | Return the cosine of the parameter |
cosh() | Return the hyperbolic cosine value of an angle |
exp() | It calculates the exponent e raised to the power x |
exp2() | It calculates x to the power of2Exponent to the base. |
expm1() | It calculates the exponent of the power multiplied by x minus one |
fabs() | Return the absolute value of the parameter |
fdim(x,y) | Return the positive difference between x and y |
floor() | Return the lower limit value of the decimal number |
fma(x,y,z) | It calculates the expression x * y + z. |
fmax() | Return the maximum of the two parameters passed |
fmin() | Return the minimum of the two given parameters |
fmod() | Calculate the remainder of the division of a floating-point number |
frexp() | Return the mantissa and exponent of a floating-point number |
hypot() | Return the square root of the sum of the squares of the parameters |
ilogb() | Return the integer part of the logarithm of | x | |
ldexp() | Multiply x and2The product returns to the power e of |
llrint() | Round the Parameter Using the Current Rounding Mode |
llround() | Round the parameter to the nearest long long int value |
log() | Return the natural logarithm of the number |
log10() | Return the logarithm of the number10Logarithm to the base |
log1p() | Return x + 1The natural logarithm. |
log2(x) | It calculates x to the power of2Logarithm to the base. |
logb(x) | Return the logarithm of | x | |
lrint() | Round the Parameter Using the Current Rounding Mode |
lround() | Return the nearest long int value to the parameter |
modf() | Decompose the number into an integer and a fractional part |
nan() | Return NaN value |
nearbyint() | Round the parameter to use the current rounding mode |
nextafter() | It represents the next representable value of x in the y direction. |
nexttoward() | It represents the next representable value of x in the y direction. |
pow() | calculate power |
restder(x,y) | Return x / The remainder of y |
remquo(x,y) | Compute the remainder and store x / The quotient of y |
rint() | Round the Parameter Using the Current Rounding Mode |
round() | Return the Nearest Integer Value to the Parameter |
scalbln(x,n) | Compute the product of x and FLT_RADX multiplied by n. |
scalbn(x,n) | Compute the product of x and FLT_RADX multiplied by n. |
sin() | Return the Sine of an Argument |
sinh() | Return the Hyperbolic Sine of an Angle |
sqrt() | Calculate the Square Root of a Number |
tan() | Return the Tangent of an Argument |
tanh() | Return the Hyperbolic Tangent of an Angle |
trunc() | Truncate the Significand of a Number |