Eneboo - Documentación para desarrolladores
Funciones
Referencia del Namespace QS

Funciones

bool isNaN (double d)
bool isInf (double d)
double max (double d1, double d2)
double min (double d1, double d2)
QSObject add (const QSEnv *env, const QSObject &v1, const QSObject &v2, char oper)
QSObject mult (const QSEnv *env, const QSObject &v1, const QSObject &v2, char oper)

Documentación de las funciones

QSObject QS::add ( const QSEnv env,
const QSObject v1,
const QSObject v2,
char  oper 
)

Additive operator. Either performs an addition or substraction of v1 and v2.

Parámetros:
oper'+' or '-' for an addition or substraction, respectively.
Devuelve:
The result of the operation.
bool QS::isInf ( double  d) [inline]
Devuelve:
True if d is infinite (platform support required).
bool QS::isNaN ( double  d) [inline]
Devuelve:
True if d is not a number (platform support required).
double QS::max ( double  d1,
double  d2 
) [inline]

This operator performs an abstract relational comparision of the two arguments that can be of arbitrary type. If possible, conversions to the string or number type will take place before the comparison.

Devuelve:
1 if v1 is "less-than" v2, 0 if the relation is "greater-than-or- equal". -1 if the result is undefined.
double QS::min ( double  d1,
double  d2 
) [inline]
QSObject QS::mult ( const QSEnv env,
const QSObject v1,
const QSObject v2,
char  oper 
)

Multiplicative operator. Either multiplies/divides v1 and v2 or calculates the remainder from an division.

Parámetros:
oper'*', '/' or '%' for a multiplication, division or modulo operation.
Devuelve:
The result of the operation.
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'