- 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 función devuelve el valor absoluto (modular) de un número que se le ha pasado.
double MathAbs(
|
Parámetros
value
[in] Valor numérico.
Valor devuelto
Valor del tipo double, más o igual a cero.
Nota
En vez de la función MathAbs() se puede usar la función fabs().
Ejemplo:
//--- input parameters
|