Difference between revisions of "cpp/numeric/math"
From cppreference.com
Aaron Ridout (Talk | contribs) (Added M_PI) |
(Undo revision 44808 by Aaron Ridout (talk) this is not a POSIX wiki) |
||
Line 108: | Line 108: | ||
{{dcl list template | cpp/numeric/math/dcl list HUGE_VAL}}} | {{dcl list template | cpp/numeric/math/dcl list HUGE_VAL}}} | ||
{{dcl list macro const | cpp/numeric/math/INFINITY | evaluates to positive infinity or the value guaranteed to overflow a {{c|float}}| notes={{mark c++11}} }} | {{dcl list macro const | cpp/numeric/math/INFINITY | evaluates to positive infinity or the value guaranteed to overflow a {{c|float}}| notes={{mark c++11}} }} | ||
− | |||
{{dcl list macro const | cpp/numeric/math/NAN | evaluates to a quiet NaN of type {{c|float}} | notes={{mark c++11}}}} | {{dcl list macro const | cpp/numeric/math/NAN | evaluates to a quiet NaN of type {{c|float}} | notes={{mark c++11}}}} | ||
{{dcl list template | cpp/numeric/math/dcl list math_errhandling}} | {{dcl list template | cpp/numeric/math/dcl list math_errhandling}} |
Revision as of 05:40, 28 November 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) |
Classification | |
Defined in header
<cfloat> |