On this page, we will collect the most frequently used library functions <CMath> (math.h)
Trigonometricheskie functions | |
tan() | tangent calculation |
cos() | cosine calculation |
without() | computing sinus |
acos() | calculating the inverse cosine |
asin() | arcsine calculation |
assign() | arctangent calculation |
atan2() | calculating the arc tangent of two parameters |
degree functions | |
pow() | to increase the degree of |
sqrt() | square root |
cbrt() | calculating the cube root – C ++ 11 |
hypot() | hypotenuse calculation – C ++ 11 |
rounding function | |
ceil() | rounding to the higher |
floor() | rounding to less |
fmod() | calculating modulo |
minimum functions, and maximum difference | |
fdim() | positive difference – C ++ 11 |
fmax() | maximum – C ++ 11 |
fmin() | minimum value – C ++ 11 |
Other mathematical function library <CMath> | |
fabs() | calculation of the absolute value |
abs() | calculation of the absolute value |
fma() | multiplication and addition – C ++ 11 |
Recent Comments