◐ Shell
clean mode source ↗

std::remainder – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

definiert in Header

<cmath>

float remainder( float x, float y );

(1) (seit C++11)

double remainder( double x, double y );

(2) (seit C++11)

long double remainder( long double x, long double y );

(3) (seit C++11)

Promoted remainder( Arithmetic x, Arithmetic y );

(4) (seit C++11)

Berechnet den Rest des Fließkommadivision Betrieb x/y. Im Unterschied zu fmod, wird die Rückkehr Typ sein, wenn fmod(x, y)>y/2 negativen .

Original:

Computes the remainder of the floating point division operation x/y. In difference to fmod, the return type will be negative if fmod(x, y)>y/2.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

4)

Wenn ein Argument hat integralen Typ, wird es double gegossen. Wenn ein anderes Argument long double ist, dann ist der Rückgabetyp long double ist, sonst ist es double

Original:

If any argument has integral type, it is cast to double. If any other argument is long double, then the return type is long double, otherwise it is double

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parameter

x, y -

Fließkommazahlen

Original:

floating point values

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Rückgabewert

Rest der Division Argumente

Original:

remainder of dividing arguments

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Siehe auch

Rest der Gleitkomma Teilungsoperation

Original:

remainder of the floating point division operation

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

der Quotient und Rest der ganzzahligen Division

Original:

the quotient and remainder of integer division

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]