Difference between revisions of "cpp/numeric/math/signbit"
From cppreference.com
m (Text replace - "{{mark c++11 feature}}" to "{{mark since c++11}}") |
m (Text replace - "{{cpp|" to "{{c|") |
||
Line 24: | Line 24: | ||
===Return value=== | ===Return value=== | ||
− | nonzero value if {{tt|arg}} is negative, {{ | + | nonzero value if {{tt|arg}} is negative, {{c|0}} otherwise |
===See also=== | ===See also=== |
Revision as of 20:28, 19 April 2012
Template:cpp/numeric/math/sidebar Template:ddcl list begin <tr class="t-dsc-header">
<td>Defined in header
</td>
<cmath>
<td></td> <td></td> </tr> <tr class="t-dcl ">
<td >int signbit( float arg );
</td>
<td class="t-dcl-nopad"> </td> <td > (since C++11) </td> </tr> <tr class="t-dcl ">
<td >int signbit( double arg );
</td>
<td class="t-dcl-nopad"> </td> <td > (since C++11) </td> </tr> <tr class="t-dcl ">
<td >int signbit( long double arg );
</td>
<td class="t-dcl-nopad"> </td> <td > (since C++11) </td> </tr> Template:ddcl list end
Determines if the given floating point number arg
is negative.
Parameters
arg | - | floating point value |
Return value
nonzero value if arg
is negative, 0 otherwise