fdim

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

 
 
 
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)
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.
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.
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.
ldexp
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       fdimf(float x, float y );
double      fdim(double x, double y );
longdouble fdiml(longdouble x, longdouble y );
Restituisce la differenza positiva tra x e y.
Original:
Returns the positive difference between x and y.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Questo potrebbe essere implementato come fmax(x - y, 0), quindi se x ≤ y, il risultato è sempre uguale a 0, altrimenti è x - y.
Original:
This could be implemented as fmax(x - y, 0), so if x ≤ y, the result is always equals to 0, otherwise it is 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]Parametri

x, 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

Il valore di differenza positiva.
Original:
The positive difference value.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifica]Vedi anche

calcola il valore assoluto di un valore integrale (|x|)
Original:
computes absolute value of an integral value (|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]
(C99)
più elevato tra due valori in virgola mobile
Original:
larger of two floating point values
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(funzione)[modifica]
close