- MathAbs
- MathArccos
- MathArcsin
- MathArctan
- MathArctan2
- MathClassify
- MathCeil
- MathCos
- MathExp
- MathFloor
- MathLog
- MathLog10
- MathMax
- MathMin
- MathMod
- MathPow
- MathRand
- MathRound
- MathSin
- MathSqrt
- MathSrand
- MathTan
- MathIsValidNumber
- MathExpm1
- MathLog1p
- MathArccosh
- MathArcsinh
- MathArctanh
- MathCosh
- MathSinh
- MathTanh
- MathSwap
MathAbs
La funzione restituisce il valore assoluto (modulo) di valore numerico specificato.
double MathAbs(
|
Parametri
valore
[in] Valore numerico.
Valore restituito
Valore di tipo double maggiore o uguale a zero.
Nota
Al posto della funzione MathAbs() è possibile utilizzare fabs().
Esempio:
//--- parametri d'ingresso
|