Namensräume
Varianten

hypot

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)
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.
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.
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.
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.
 
definiert in Header <math.h>
float       hypotf(float x, float y );
double      hypot(double x, double y );
longdouble hypotl(longdouble x, longdouble y );
Berechnet die Quadratwurzel aus der Summe der Quadrate der x und y, ohne unnötige Überlauf oder Unterlauf an Zwischenstufen der Berechnung. Dies ist die Länge der Hypotenuse eines rechtwinkligen Dreiecks mit einer Seitenlänge von Länge und xy, oder der Abstand des Punktes vom Ursprung (x,y)(0,0) oder den Betrag einer komplexen Zahl x+iy
Original:
Computes the square root of the sum of the squares of x and y, without undue overflow or underflow at intermediate stages of the computation. This is the length of the hypotenuse of a right-angled triangle with sides of length x and y, or the distance of the point (x,y) from the origin (0,0), or the magnitude of a complex number x+iy
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

x -
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.
y -
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 Hypotenuse eines rechtwinkligen Dreiecks, x2
+y2
.
Original:
The hypotenuse of a right-angled triangle, x2
+y2
.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[Bearbeiten]Ausnahmen

Wenn das Ergebnis überläuft, kann eine Reihe Fehler auftreten und FE_OVERFLOW angehoben werden kann .
Original:
If the result overflows, a range error may occur and FE_OVERFLOW may be raised.
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 subnormale kann ein Fehler auf, und Unterlauf FE_UNDERFLOW angehoben werden kann .
Original:
If the result is subnormal, an underflow error may occur and FE_UNDERFLOW may be raised.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[Bearbeiten]Notes

Typische Implementierung Strategie ist es, ein Äquivalent u1+(
v
u
)2
wo u ist max(x,y) und v ist min(x,y) .. berechnen
Original:
Typical implementation strategy is to calculate an equivalent of u1+(
v
u
)2
where u is max(x,y) and v is min(x,y).
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

berechnet Quadratwurzel (x)
Original:
computes square root (x)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion)[edit]
wirft eine Reihe an die angegebene Leistung (xy)
Original:
raises a number to the given power (xy)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion)[edit]
close