Espaces de noms
Variantes
Affichages
Actions

rint, lrint, llrint

De cppreference.com
< c‎ | numeric‎ | math

This page has been machine-translated from the English version of the wiki using Google Translate.

The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here.

Click here for the English version of this page

 
 
 
Fonctions mathématiques courantes
Fonctions
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Opérations de base
Original:
Basic operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
remainder (C99)
remquo (C99)
fma (C99)
fmax (C99)
fmin (C99)
fdim (C99)
nan
nanf
nanl
(C99)
(C99)
(C99)
Les fonctions exponentielles
Original:
Exponential functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
exp
exp2 (C99)
expm1 (C99)
log
log1p (C99)
log2 (C99)
Les fonctions de puissance
Original:
Power functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
cbrt (C99)
hypot (C99)
pow
Les fonctions trigonométriques et hyperboliques
Original:
Trigonometric and hyperbolic functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Erreur fonctions et gamma
Original:
Error and gamma functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
erf (C99)
erfc (C99)
lgamma (C99)
tgamma (C99)
Entier le plus proche opérations en virgule flottante
Original:
Nearest integer floating point operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
round
lround
llround
(C99)
(C99)
(C99)
trunc (C99)
nearbyint (C99)
rint
lrint
llrint
(C99)
(C99)
(C99)
Flottant fonctions de manipulation de points
Original:
Floating point manipulation functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
scalbn
scalbln
(C99)
(C99)
ilogb (C99)
logb (C99)
Classification
Original:
Classification
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
fpclassify (C99)
isfinite (C99)
isinf (C99)
isnan (C99)
isnormal (C99)
signbit (C99)
Macro constantes
Original:
Macro constants
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
Déclaré dans l'en-tête <math.h>
int rintf( float arg );
int rint( double arg );
int rintl( long double arg );
long lrintf( float arg );
long lrint( double arg );
long lrintl( long double arg );
long long llrintf( float arg );
long long llrint( double arg );
long long llrintl( long double arg );
Arrondit la arg argument en virgule flottante en une valeur entière en format à virgule flottante, en utilisant le mode d'arrondi courant. Si le résultat est différent de arg (c.-à-arg n'était pas une valeur entière déjà), le FE_INEXACT exception de virgule flottante est élevé .
Original:
Rounds the floating-point argument arg to an integer value in floating-point format, using the current rounding mode. If the result differs from arg (i.e., arg was not an integer value already), the floating-point exception FE_INEXACT is raised.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifier] Paramètres

arg -
valeur du point flottant
Original:
floating point value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifier] Retourne la valeur

Le résultat entier de arg arrondis
Original:
The integer result of rounding arg
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifier] Notes

La seule différence entre nearbyint et rint est que rint peut soulever la FE_INEXACT exception de virgule flottante, tandis que nearbyint jamais elle soulève .
Original:
The only difference between nearbyint and rint is that rint may raise the FE_INEXACT floating-point exception, while nearbyint never raises it.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifier] Exemple

This section is incomplete
Reason: no example

[modifier] Voir aussi

entier le plus proche en utilisant le mode d'arrondi courant
Original:
nearest integer using current rounding mode
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) [edit]
(C99)
entier le plus proche n'est pas supérieure en grandeur à la valeur donnée
Original:
nearest integer not greater in magnitude than the given value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) [edit]
Récupérée de « https://fr.cppreference.com/mwiki/index.php?title=c/numeric/math/rint&oldid=47310 »

AltStyle によって変換されたページ (->オリジナル) /