Difference between revisions of "cpp/numeric/math/remainder"
From cppreference.com
(Created page with "{{cpp/title|remainder}} {{cpp/numeric/math/sidebar}} {{ddcl list begin}} {{ddcl list header | cmath}} {{ddcl list item | float remainder( float x, float y ); }} {{ddcl list...") |
(+c++11) |
||
Line 3: | Line 3: | ||
{{ddcl list begin}} | {{ddcl list begin}} | ||
{{ddcl list header | cmath}} | {{ddcl list header | cmath}} | ||
− | {{ddcl list item | | + | {{ddcl list item | notes={{mark c++11 feature}} | |
float remainder( float x, float y ); | float remainder( float x, float y ); | ||
}} | }} | ||
− | {{ddcl list item | | + | {{ddcl list item | notes={{mark c++11 feature}} | |
double remainder( double x, double y ); | double remainder( double x, double y ); | ||
}} | }} | ||
− | {{ddcl list item | | + | {{ddcl list item | notes={{mark c++11 feature}} | |
long double remainder( long double x, long double y ); | long double remainder( long double x, long double y ); | ||
}} | }} |
Revision as of 12:53, 26 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 >float remainder( float x, float y );
</td>
<td class="t-dcl-nopad"> </td> <td > Template:mark c++11 feature </td> </tr> <tr class="t-dcl ">
<td >double remainder( double x, double y );
</td>
<td class="t-dcl-nopad"> </td> <td > Template:mark c++11 feature </td> </tr> <tr class="t-dcl ">
<td >long double remainder( long double x, long double y );
</td>
<td class="t-dcl-nopad"> </td> <td > Template:mark c++11 feature </td> </tr> Template:ddcl list end
Computes the remainder of the floating point division operation Template:cpp. In difference to fmod, the return type will be negative if Template:cpp.
Parameters
x, y | - | floating point values |
Return value
remainder of dividing arguments