| M F C M P ( )
| | | | | SOURCE: qdev_macros.txt 1.16 (12/09/2014) English INDEP - PUBLIC
----------------------------------------------------------------------------
NAME
MFCMP() - Allows to compare two single or double prec.
values.
SYNOPSIS
res = MFCMP(x, y);
LONG MFCMP(MFARITH, MFARITH);
FUNCTION
This macro allows to compare two floats/doubles like
you would call 'IEEE[S|D]PCmp()'.
INPUTS
x - IEEE floating point value(single/double precision).
y - IEEE floating point value(single/double precision).
RETURNS
Returns -1 if (x < y), 0 if (x == y) and 1 if (x > y).
BASES
[MathIeeeDoubBasBase], [MathIeeeSingBasBase]
NOTES
By default macro will operate on single precision IEEE
values. To switch to double, define ___QDEV_DOUBLEPREC.
SEE ALSO
MFADD(), MFSUB(), MFMUL(), MFDIV(), MFFIX(), MFFLT(),
MFCLE(), MFCGE()
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
| |
| |