Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/numeric/math"

From cppreference.com
< cpp‎ | numeric
(+c++11)
(Macro constants)
Line 107: Line 107:
 
{{dcl list header | cfloat }}
 
{{dcl list header | cfloat }}
 
{{dcl list macro const | cpp/numeric/math/FLT_ROUNDS | specifies the default rounding mode | notes={{mark c++11}}}}
 
{{dcl list macro const | cpp/numeric/math/FLT_ROUNDS | specifies the default rounding mode | notes={{mark c++11}}}}
{{dcl list macro const | cpp/numeric/math/FLT_EVAL_METHOD | specifies which types are aliased to {{c|float_t}} and {{c|double_t}} | notes={{mark c++11}} }}
+
{{dcl list macro const | cpp/numeric/math/FLT_EVAL_METHOD | specifies in what precision all arithmetic operations are done | notes={{mark c++11}} }}
 
{{dcl list end}}
 
{{dcl list end}}

Revision as of 07:59, 25 June 2012

 
 
 
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 signbit
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

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 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)
defines the error handling mechanism used by the common mathematical functions
(macro constant)
Classification
Defined in header <cfloat>
specifies the default rounding mode
(macro constant)
specifies in what precision all arithmetic operations are done
(macro constant)