Namespaces
Variants
Views
Actions

Common mathematical functions

From cppreference.com
< cpp‎ | numeric
Revision as of 22:29, 2 November 2012 by P12bot (Talk | contribs)

 
 
 
Common mathematical functions
 

Contents

Functions

Template:cpp/numeric/math/dcl list absTemplate:cpp/numeric/math/dcl list fabsTemplate:cpp/numeric/math/dcl list divTemplate:cpp/numeric/math/dcl list fmodTemplate:cpp/numeric/math/dcl list remainderTemplate:cpp/numeric/math/dcl list remquoTemplate:cpp/numeric/math/dcl list fmaTemplate:cpp/numeric/math/dcl list fmaxTemplate:cpp/numeric/math/dcl list fminTemplate:cpp/numeric/math/dcl list fdimTemplate:cpp/numeric/math/dcl list fnanTemplate:cpp/numeric/math/dcl list expTemplate:cpp/numeric/math/dcl list exp2Template:cpp/numeric/math/dcl list expm1Template:cpp/numeric/math/dcl list logTemplate:cpp/numeric/math/dcl list log10Template:cpp/numeric/math/dcl list log1pTemplate:cpp/numeric/math/dcl list log2Template:cpp/numeric/math/dcl list sqrtTemplate:cpp/numeric/math/dcl list cbrtTemplate:cpp/numeric/math/dcl list hypotTemplate:cpp/numeric/math/dcl list powTemplate:cpp/numeric/math/dcl list sinTemplate:cpp/numeric/math/dcl list cosTemplate:cpp/numeric/math/dcl list tanTemplate:cpp/numeric/math/dcl list asinTemplate:cpp/numeric/math/dcl list acosTemplate:cpp/numeric/math/dcl list atanTemplate:cpp/numeric/math/dcl list atan2Template:cpp/numeric/math/dcl list sinhTemplate:cpp/numeric/math/dcl list coshTemplate:cpp/numeric/math/dcl list tanhTemplate:cpp/numeric/math/dcl list asinhTemplate:cpp/numeric/math/dcl list acoshTemplate:cpp/numeric/math/dcl list atanhTemplate:cpp/numeric/math/dcl list erfTemplate:cpp/numeric/math/dcl list erfcTemplate:cpp/numeric/math/dcl list lgammaTemplate:cpp/numeric/math/dcl list tgammaTemplate:cpp/numeric/math/dcl list ceilTemplate:cpp/numeric/math/dcl list floorTemplate:cpp/numeric/math/dcl list truncTemplate:cpp/numeric/math/dcl list roundTemplate:cpp/numeric/math/dcl list nearbyintTemplate:cpp/numeric/math/dcl list rintTemplate:cpp/numeric/math/dcl list frexpTemplate:cpp/numeric/math/dcl list ldexpTemplate:cpp/numeric/math/dcl list modfTemplate:cpp/numeric/math/dcl list scalbnTemplate:cpp/numeric/math/dcl list ilogbTemplate:cpp/numeric/math/dcl list logbTemplate:cpp/numeric/math/dcl list nextafterTemplate:cpp/numeric/math/dcl list copysignTemplate:cpp/numeric/math/dcl list fpclassifyTemplate:cpp/numeric/math/dcl list isfiniteTemplate:cpp/numeric/math/dcl list isinfTemplate:cpp/numeric/math/dcl list isnanTemplate:cpp/numeric/math/dcl list isnormalTemplate:cpp/numeric/math/dcl list signbitTemplate:cpp/numeric/math/dcl list isgreaterTemplate:cpp/numeric/math/dcl list isgreaterequalTemplate:cpp/numeric/math/dcl list islessTemplate:cpp/numeric/math/dcl list islessequalTemplate:cpp/numeric/math/dcl list islessgreaterTemplate:cpp/numeric/math/dcl list isunordered
Defined in header <cmath>
Basic operations
Exponential functions
Power functions
Trigonometric functions
Hyperbolic functions
Error and gamma functions
Nearest integer floating point operations
Floating point manipulation functions
Classification and comparison

Types

Defined in header <cmath>
float_t most efficient floating-point type at least as wide as float
double_t most efficient floating-point type at least as wide as double
Defined in header <cstdlib>
div_t structure type, return of the std::div function
ldiv_t structure type, return of the std::ldiv function
lldiv_t structure type, return of the std::lldiv function
Defined in header <cinttypes>
imaxdiv_t structure type, return of the std::imaxdiv function

Macro constants

Template:cpp/numeric/math/dcl list HUGE VAL} Template:cpp/numeric/math/dcl list math errhandlingTemplate:cpp/numeric/math/dcl list FP categories
Defined in header <cmath>
(C++11)
evaluates to positive infinity or the value guaranteed to overflow a float
(macro constant)
(C++11)
evaluates to a quiet NaN of type float
(macro constant)
Classification
Defined in header <cfloat>