Difference between revisions of "cpp/numeric/math"
From cppreference.com
(+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 | + | {{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
Contents |
Functions
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
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) |
(C++11)(C++11)(C++11) |
defines the error handling mechanism used by the common mathematical functions (macro constant) |
Classification | |
Defined in header
<cfloat> | |
(C++11) |
specifies the default rounding mode (macro constant) |
(C++11) |
specifies in what precision all arithmetic operations are done (macro constant) |