Espaces de noms
Variantes
Affichages
Actions

ilogb

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

 
 
 
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
log10
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.
sqrt
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.
sinh
cosh
tanh
asinh (C99)
acosh (C99)
atanh (C99)
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.
ceil
floor
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.
ldexp
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.
FP_NORMAL
FP_SUBNORMAL
FP_ZERO
FP_INFINITE
FP_NAN
(C99)
(C99)
(C99)
(C99)
(C99)
 
Defined in header <math.h>
int ilogbf( float arg );
int ilogb( double arg );
int ilogbl( long double arg );
#define FP_ILOGB0 /*implementation-defined*/
#define FP_ILOGBNAN /*implementation-defined*/
Extrait la valeur de l'exposant de la arg argument en virgule flottante, et retourne une valeur entière signée. Formellement, le résultat est la partie intégrante de log
r
|arg|
comme une valeur signée intégrante, en cas de non-nul arg, où r est FLT_RADIX .
Original:
Extracts the value of the exponent from the floating-point argument arg, and returns it as a signed integer value. Formally, the result is the integral part of log
r
|arg|
as a signed integral value, for non-zero arg, where r is FLT_RADIX.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Sommaire

[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

L'exposant à virgule flottante, jeté en entier .
Original:
The floating-point exponent, cast to integer.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Erreur de domaine ou une plage peut se produire si arg est égal à zéro, FP_ILOGB0 est retourné dans ce cas .
Original:
Domain or range error may occur if arg is zero, FP_ILOGB0 is returned in that case.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Erreur de domaine ou une plage peut se produire si arg est infini, MAX_INT est retourné dans ce cas .
Original:
Domain or range error may occur if arg is infinite, MAX_INT is returned in that case.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Erreur de domaine ou une plage peut se produire si arg est NaN, FP_ILOGBNAN est retourné dans ce cas .
Original:
Domain or range error may occur if arg is NaN, FP_ILOGBNAN is returned in that case.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Si le résultat ne peut pas être représenté comme int, le résultat est indéfini .
Original:
If the result cannot be represented as int, the result is undefined.
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 valeur de l'exposant retourné par ilogb est toujours inférieur de 1 l'exposant retuned par frexp en raison des exigences de normalisation différents: pour le e exposant retourné par ilogb, |arg*r-e
|
est comprise entre 1 et r (typiquement entre 1 et 2), mais pour le exposant e retourné par frexp, |arg*2-e
|
se situe entre 0.5 et 1 .
Original:
The value of the exponent returned by ilogb is always 1 less than the exponent retuned by frexp because of the different normalization requirements: for the exponent e returned by ilogb, |arg*r-e
|
is between 1 and r (typically between 1 and 2), but for the exponent e returned by frexp, |arg*2-e
|
is between 0.5 and 1.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifier] Exemple

[modifier] Voir aussi

se décompose en un certain nombre mantisse et d'une puissance de 2
Original:
decomposes a number into significand and a power of 2
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)
extrait exposant du nombre
Original:
extracts exponent of the number
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)
(C99)
multiplie par un nombre FLT_RADIX élevé à une puissance
Original:
multiplies a number by FLT_RADIX raised to a power
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) [edit]