hypot

< c‎ | numeric‎ | math

C
 Sprache Geben Sie Unterstützung Dynamische Speicherverwaltung Fehlerbehandlung Programm Versorgungsunternehmen Datum und Uhrzeit Versorgungsunternehmen Strings Bibliothek Algorithmen Numerics Eingang / Ausgang-Unterstützung Localization Support Thread-Unterstützung (C11) Atomare Operationen (C11)

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.
 abslabsllabsimaxabs (C99)
 fabs
 divldivlldivimaxdiv (C99)
 fmod
 remainder (C99)
 remquo (C99)
 fma (C99)
 fmax (C99)
 fmin (C99)
 fdim (C99)
 nannanfnanl (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.
 sin
 cos
 tan
 asin
 acos
 atan
 atan2
 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
 roundlroundllround (C99)(C99)(C99)
 trunc (C99)
 nearbyint (C99)
 rintlrintllrint (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
 scalbnscalbln (C99)(C99)
 ilogb (C99)
 logb (C99)
 frexp
 modf
 nextafternexttoward (C99)(C99)
 copysign (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.
 HUGE_VALFHUGE_VALHUGE_VALL (C99)(C99)
 FP_NORMALFP_SUBNORMALFP_ZEROFP_INFINITEFP_NAN (C99)(C99)(C99)(C99)(C99)

 Defined in header float       hypotf( float x, float y ); double      hypot( double x, double y ); long double hypotl( long double x, long double 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 `x` `y`, 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-WertOriginal: floating point valueThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. y - Floating-Point-WertOriginal: floating point valueThe 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]Siehe auch

 sqrt 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)  pow 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)  C++ documentation for hypot