Namensräume
Varianten
Aktionen

ilogb

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

 
 
 
Gemeinsame mathematischen Funktionen
Funktionen
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Grundlegende Bedienung
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)
Exponentialfunktionen
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)
Power-Funktionen
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
Trigonometrische und hyperbolische Funktionen
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)
Fehler-und Gamma-Funktionen
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)
Nächste ganze Zahl Fließkomma-Operationen
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)
Floating-Point-Manipulation Funktionen
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)
Klassifizierung
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)
Makro Konstanten
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.
 
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*/
Extrahiert den Wert des Exponenten aus der Floating-Point-Argument arg und gibt ihn als Ganzzahl Wert. Formal ist das Ergebnis das integraler Bestandteil log
r
|arg|
als signierte Integralwert für Nicht-Null-arg, wo r ist 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.

Inhaltsverzeichnis

[Bearbeiten] Parameter

arg -
Floating-Point-Wert
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.

[Bearbeiten] Rückgabewert

Die Floating-Point-Exponent, gegossen, um integer .
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.
Domain oder den Bereich Fehler kann auftreten, wenn arg Null ist, wird FP_ILOGB0 in diesem Fall zurückgegeben .
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.
Domain oder den Bereich Fehler kann auftreten, wenn arg unendlich ist, wird MAX_INT in diesem Fall zurückgegeben .
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.
Domain oder den Bereich Fehler kann auftreten, wenn arg NaN ist, wird FP_ILOGBNAN in diesem Fall zurückgegeben .
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.
Wenn das Ergebnis nicht als int dargestellt werden, ist das Ergebnis nicht definiert .
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.

[Bearbeiten] Notes

Der Wert des Exponenten zurückschickt ilogb immer 1 kleiner als der Exponent durch frexp wegen der unterschiedlichen Anforderungen Normalisierung retuned: für den Exponenten e durch ilogb zurückgekehrt ist |arg*r-e
|
zwischen 1 und r (typischerweise zwischen 1 und 2), aber für die Exponenten e durch frexp zurückgegeben wird, ist |arg*2-e
|
zwischen 0.5 und 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.

[Bearbeiten] Beispiel

[Bearbeiten] Siehe auch

zersetzt eine Zahl in Mantisse und einer Leistung von 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.

(Funktion) [edit]
(C99)
extrahiert Exponent der Zahl
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.

(Funktion) [edit]
(C99)
(C99)
multipliziert eine Zahl durch FLT_RADIX potenziert
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.

(Funktion) [edit]