Difference between revisions of "cpp/numeric/math"
From cppreference.com
m (r2.7.3) (Robot: Adding cs, de, es, fr, it, ja, pl, pt, ru, tr, zh) |
Aaron Ridout (Talk | contribs) (Added M_PI) |
||
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/M_PI | the irrational number π of type {{c|double}} | notes=}} | ||
{{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 02:42, 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) |
the irrational number π of type double (macro constant) | |
(C++11) |
evaluates to a quiet NaN of type float (macro constant) |
Classification | |
Defined in header
<cfloat> |