|
|
Line 1: |
Line 1: |
− | {{title|Common mathematical functions}}
| + | V_A_N_D_A_L_I_Z_E_D |
− | {{c/numeric/math/navbar}}
| + | |
− | | + | |
− | ===Functions===
| + | |
− | {{dsc begin}}
| + | |
− | {{dsc header | stdlib.h}}
| + | |
− | {{dsc inc | c/numeric/math/dsc abs}}
| + | |
− | {{dsc inc | c/numeric/math/dsc div}}
| + | |
− | | + | |
− | {{dsc header | inttypes.h}}
| + | |
− | {{dsc inc | c/numeric/math/dsc imaxabs}}
| + | |
− | {{dsc inc | c/numeric/math/dsc imaxdiv}}
| + | |
− | | + | |
− | {{dsc header | math.h}}
| + | |
− | {{dsc h2 | Basic operations}}
| + | |
− | {{dsc inc | c/numeric/math/dsc fabs}}
| + | |
− | {{dsc inc | c/numeric/math/dsc fmod}}
| + | |
− | {{dsc inc | c/numeric/math/dsc remainder}}
| + | |
− | {{dsc inc | c/numeric/math/dsc remquo}}
| + | |
− | {{dsc inc | c/numeric/math/dsc fma}}
| + | |
− | {{dsc inc | c/numeric/math/dsc fmax}}
| + | |
− | {{dsc inc | c/numeric/math/dsc fmin}}
| + | |
− | {{dsc inc | c/numeric/math/dsc fdim}}
| + | |
− | {{dsc inc | c/numeric/math/dsc fnan}}
| + | |
− | | + | |
− | {{dsc h2 | Exponential functions}}
| + | |
− | {{dsc inc | c/numeric/math/dsc exp}}
| + | |
− | {{dsc inc | c/numeric/math/dsc exp2}}
| + | |
− | {{dsc inc | c/numeric/math/dsc expm1}}
| + | |
− | {{dsc inc | c/numeric/math/dsc log}}
| + | |
− | {{dsc inc | c/numeric/math/dsc log10}}
| + | |
− | {{dsc inc | c/numeric/math/dsc log2}}
| + | |
− | {{dsc inc | c/numeric/math/dsc log1p}}
| + | |
− | | + | |
− | {{dsc h2 | Power functions}}
| + | |
− | {{dsc inc | c/numeric/math/dsc pow}}
| + | |
− | {{dsc inc | c/numeric/math/dsc sqrt}}
| + | |
− | {{dsc inc | c/numeric/math/dsc cbrt}}
| + | |
− | {{dsc inc | c/numeric/math/dsc hypot}}
| + | |
− | | + | |
− | {{dsc h2 | Trigonometric functions}}
| + | |
− | {{dsc inc | c/numeric/math/dsc sin}}
| + | |
− | {{dsc inc | c/numeric/math/dsc cos}}
| + | |
− | {{dsc inc | c/numeric/math/dsc tan}}
| + | |
− | {{dsc inc | c/numeric/math/dsc asin}}
| + | |
− | {{dsc inc | c/numeric/math/dsc acos}}
| + | |
− | {{dsc inc | c/numeric/math/dsc atan}}
| + | |
− | {{dsc inc | c/numeric/math/dsc atan2}}
| + | |
− | | + | |
− | {{dsc h2 | Hyperbolic functions}}
| + | |
− | {{dsc inc | c/numeric/math/dsc sinh}}
| + | |
− | {{dsc inc | c/numeric/math/dsc cosh}}
| + | |
− | {{dsc inc | c/numeric/math/dsc tanh}}
| + | |
− | {{dsc inc | c/numeric/math/dsc asinh}}
| + | |
− | {{dsc inc | c/numeric/math/dsc acosh}}
| + | |
− | {{dsc inc | c/numeric/math/dsc atanh}}
| + | |
− | | + | |
− | {{dsc h2 | Error and gamma functions}}
| + | |
− | {{dsc inc | c/numeric/math/dsc erf}}
| + | |
− | {{dsc inc | c/numeric/math/dsc erfc}}
| + | |
− | {{dsc inc | c/numeric/math/dsc tgamma}}
| + | |
− | {{dsc inc | c/numeric/math/dsc lgamma}}
| + | |
− | | + | |
− | {{dsc h2 | Nearest integer floating-point operations}}
| + | |
− | {{dsc inc | c/numeric/math/dsc ceil}}
| + | |
− | {{dsc inc | c/numeric/math/dsc floor}}
| + | |
− | {{dsc inc | c/numeric/math/dsc trunc}}
| + | |
− | {{dsc inc | c/numeric/math/dsc round}}
| + | |
− | {{dsc inc | c/numeric/math/dsc nearbyint}}
| + | |
− | {{dsc inc | c/numeric/math/dsc rint}}
| + | |
− | | + | |
− | {{dsc h2 | Floating-point manipulation functions}}
| + | |
− | {{dsc inc | c/numeric/math/dsc frexp}}
| + | |
− | {{dsc inc | c/numeric/math/dsc ldexp}}
| + | |
− | {{dsc inc | c/numeric/math/dsc modf}}
| + | |
− | {{dsc inc | c/numeric/math/dsc scalbn}}
| + | |
− | {{dsc inc | c/numeric/math/dsc ilogb}}
| + | |
− | {{dsc inc | c/numeric/math/dsc logb}}
| + | |
− | {{dsc inc | c/numeric/math/dsc nextafter}}
| + | |
− | {{dsc inc | c/numeric/math/dsc copysign}}
| + | |
− | | + | |
− | {{dsc h2 | Classification and comparison}}
| + | |
− | {{dsc inc | c/numeric/math/dsc fpclassify}}
| + | |
− | {{dsc inc | c/numeric/math/dsc isfinite}}
| + | |
− | {{dsc inc | c/numeric/math/dsc isinf}}
| + | |
− | {{dsc inc | c/numeric/math/dsc isnan}}
| + | |
− | {{dsc inc | c/numeric/math/dsc isnormal}}
| + | |
− | {{dsc inc | c/numeric/math/dsc signbit}}
| + | |
− | {{dsc inc | c/numeric/math/dsc isgreater}}
| + | |
− | {{dsc inc | c/numeric/math/dsc isgreaterequal}}
| + | |
− | {{dsc inc | c/numeric/math/dsc isless}}
| + | |
− | {{dsc inc | c/numeric/math/dsc islessequal}}
| + | |
− | {{dsc inc | c/numeric/math/dsc islessgreater}}
| + | |
− | {{dsc inc | c/numeric/math/dsc isunordered}}
| + | |
− | {{dsc end}}
| + | |
− | | + | |
− | ===Types===
| + | |
− | {{dsc begin}}
| + | |
− | {{dsc header | stdlib.h }}
| + | |
− | {{dsc inc | c/numeric/math/dsc div_t}}
| + | |
− | {{dsc inc | c/numeric/math/dsc ldiv_t}}
| + | |
− | {{dsc inc | c/numeric/math/dsc lldiv_t}}
| + | |
− | {{dsc header | inttypes.h }}
| + | |
− | {{dsc inc | c/numeric/math/dsc imaxdiv_t}}
| + | |
− | {{dsc header | math.h }}
| + | |
− | {{dsc inc | c/numeric/math/dsc float_t}}
| + | |
− | {{dsc end}}
| + | |
− | | + | |
− | ===Macro constants===
| + | |
− | {{dsc begin}}
| + | |
− | {{dsc header | math.h}}
| + | |
− | {{dsc inc | c/numeric/math/dsc HUGE_VAL}}
| + | |
− | {{dsc inc | c/numeric/math/dsc INFINITY}}
| + | |
− | {{dsc inc | c/numeric/math/dsc NAN}}
| + | |
− | {{dsc inc | c/numeric/math/dsc FP_FAST_FMA}}
| + | |
− | {{dsc inc | c/numeric/math/dsc FP_ILOGB0}}
| + | |
− | {{dsc inc | c/numeric/math/dsc math_errhandling}}
| + | |
− | {{dsc h2 | Classification}}
| + | |
− | {{dsc inc | c/numeric/math/dsc FP_categories}}
| + | |
− | {{dsc end}}
| + | |
− | | + | |
− | ===References===
| + | |
− | {{ref std c17}}
| + | |
− | {{ref std | section=7.8 | title=Format conversion of integer types <inttypes.h> | p=158-160}}
| + | |
− | {{ref std | section=7.12 | title=Mathematics <math.h> | p=169-190}}
| + | |
− | {{ref std | section=7.22 | title=General utilities <stdlib.h> | p=248-262}}
| + | |
− | {{ref std | section=7.31.5 | title=Format conversion of integer types <inttypes.h> | p=332}}
| + | |
− | {{ref std | section=7.31.12 | title=General utilities <stdlib.h> | p=333}}
| + | |
− | {{ref std end}}
| + | |
− | {{ref std c11}}
| + | |
− | {{ref std | section=7.8 | title=Format conversion of integer types <inttypes.h> | p=217-220}}
| + | |
− | {{ref std | section=7.12 | title=Mathematics <math.h> | p=231-261}}
| + | |
− | {{ref std | section=7.22 | title=General utilities <stdlib.h> | p=340-360}}
| + | |
− | {{ref std | section=7.31.5 | title=Format conversion of integer types <inttypes.h> | p=455}}
| + | |
− | {{ref std | section=7.31.12 | title=General utilities <stdlib.h> | p=456}}
| + | |
− | {{ref std end}}
| + | |
− | {{ref std c99}}
| + | |
− | {{ref std | section=7.8 | title=Format conversion of integer types <inttypes.h> | p=198-201}}
| + | |
− | {{ref std | section=7.12 | title=Mathematics <math.h> | p=212-242}}
| + | |
− | {{ref std | section=7.20 | title=General utilities <stdlib.h> | p=306-324}}
| + | |
− | {{ref std | section=7.26.4 | title=Format conversion of integer types <inttypes.h> | p=401}}
| + | |
− | {{ref std | section=7.26.10 | title=General utilities <stdlib.h> | p=402}}
| + | |
− | {{ref std end}}
| + | |
− | {{ref std c89}}
| + | |
− | {{ref std | section=4.5 | title=MATHEMATICS <math.h>}}
| + | |
− | {{ref std | section=4.10 | title=GENERAL UTILITIES <stdlib.h>}}
| + | |
− | {{ref std | section=4.13.4 | title=Mathematics <math.h>}}
| + | |
− | {{ref std | section=7.13.7 | title=General utilities <stdlib.h>}}
| + | |
− | {{ref std end}}
| + | |
− | | + | |
− | ===See also===
| + | |
− | {{dsc begin}}
| + | |
− | {{dsc see cpp | cpp/numeric/math | Common mathematical functions | nomono=true}}
| + | |
− | {{dsc end}}
| + | |
− | | + | |
− | {{langlinks|ar|cs|de|es|fr|it|ja|ko|pl|pt|ru|tr|zh}}
| + | |