Difference between revisions of "cpp/numeric/math/signbit"
From cppreference.com
m (Text replace - "{{params}}" to "===Parameters===") |
m (Text replace - "<!-- ======== --> " to "") |
||
Line 17: | Line 17: | ||
Determines if the given floating point number {{tt|arg}} is negative. | Determines if the given floating point number {{tt|arg}} is negative. | ||
− | |||
===Parameters=== | ===Parameters=== | ||
{{param list begin}} | {{param list begin}} | ||
Line 23: | Line 22: | ||
{{param list end}} | {{param list end}} | ||
− | |||
===Return value=== | ===Return value=== | ||
nonzero value if {{tt|arg}} is negative, {{cpp|0}} otherwise | nonzero value if {{tt|arg}} is negative, {{cpp|0}} otherwise | ||
− | |||
{{see also}} | {{see also}} | ||
Revision as of 17:59, 2 August 2011
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 > Template:mark c++0x feature </td> </tr> <tr class="t-dcl ">
<td >int signbit( double arg );
</td>
<td class="t-dcl-nopad"> </td> <td > Template:mark c++0x feature </td> </tr> <tr class="t-dcl ">
<td >int signbit( long double arg );
</td>
<td class="t-dcl-nopad"> </td> <td > Template:mark c++0x feature </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, Template:cpp otherwise