Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/numeric/math/fpclassify"

From cppreference.com
< cpp‎ | numeric‎ | math
m (Text replace - "{{returns}}" to "===Return value===")
m (Text replace - "{{see also}}" to "===See also===")
Line 28: Line 28:
  
 
<!-- ======== -->
 
<!-- ======== -->
{{see also}}
+
===See also===
  
 
{{dcl list begin}}
 
{{dcl list begin}}

Revision as of 18:02, 2 August 2011

Template:cpp/numeric/math/sidebar Template:ddcl list begin <tr class="t-dsc-header">

<td>
Defined in header <cmath>
</td>

<td></td> <td></td> </tr> <tr class="t-dcl ">

<td >
int fpclassify( float arg );
</td>

<td class="t-dcl-nopad"> </td> <td > Template:mark c++11 feature </td> </tr> <tr class="t-dcl ">

<td >
int fpclassify( double arg );
</td>

<td class="t-dcl-nopad"> </td> <td > Template:mark c++11 feature </td> </tr> <tr class="t-dcl ">

<td >
int fpclassify( long double arg );
</td>

<td class="t-dcl-nopad"> </td> <td > Template:mark c++11 feature </td> </tr> Template:ddcl list end

Categorizes floating point value arg into the following categories: zero, subnormal, normal, infinite, NAN, or implementation-defined category.

Parameters

arg - floating point value

Return value

one of FP_INFINITE, FP_NAN, FP_NORMAL, FP_SUBNORMAL, FP_ZERO or implementation-defined type, specifying the category of arg.

See also

Template:cpp/numeric/math/dcl list isfiniteTemplate:cpp/numeric/math/dcl list isinfTemplate:cpp/numeric/math/dcl list isnanTemplate:cpp/numeric/math/dcl list isnormal