Namespace
Varianti

hypot

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

Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.

La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui.

Click here for the English version of this page

 
 
 
Comuni funzioni matematiche
Funzioni
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Operazioni di 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)
Funzioni esponenziali
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)
Funzioni di risparmio energia
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
Funzioni trigonometriche e iperboliche
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.
Errore e gamma funzioni
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)
Più vicini operazioni di interi in virgola mobile
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)
Floating funzioni di manipolazione di punti
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)
Classificazione
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 costanti
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.
 
Elemento definito nell'header <math.h>
float       hypotf( float x, float y );
double      hypot( double x, double y );
long double hypotl( long double x, long double y );
Calcola la radice quadrata della somma dei quadrati di x e y, senza troppopieno indebito o underflow intermedi del calcolo. Questa è la lunghezza dell'ipotenusa di un triangolo rettangolo con lati di lunghezza x e y, o la distanza del punto (x,y) dall'origine (0,0), o la grandezza di un x+iy numero complesso
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.

[modifica] Parametri

x -
valore in virgola mobile
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 -
valore in virgola mobile
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.

[modifica] Valore di ritorno

L'ipotenusa di un triangolo rettangolo, 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.

[modifica] Eccezioni

Se il risultato overflow, un errore di campo si può verificare e FE_OVERFLOW può essere sollevata.
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.
Se il risultato è subnormale, un errore può verificarsi underflow e FE_UNDERFLOW può essere sollevata.
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.

[modifica] Note

Strategia di attuazione tipico è quello di calcolare l'equivalente di u1+(
v
u
)2
dove u è max(x,y) e v è min(x,y).
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.

[modifica] Esempio

This section is incomplete
Reason: no example

[modifica] Vedi anche

calcola la radice quadrata (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.

(funzione) [modifica]
solleva un numero alla potenza data (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.

(funzione) [modifica]
Estratto da "https://it.cppreference.com/mwiki/index.php?title=c/numeric/math/hypot&oldid=24724"

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