| M F V A L U E ( )
| | | | | SOURCE: qdev_macros.txt 1.16 (12/09/2014) English INDEP - PUBLIC
----------------------------------------------------------------------------
NAME
MFVALUE() - MFARITH value guard macro.
SYNOPSIS
out = MFVALUE(in);
MFARITH MFVALUE(MFARITH);
FUNCTION
This macro is a stub when operating on IEEE values but
when ___QDEV_NOIEEEMATH was specified during compile
then it converts all explicit values to FFP before the
assignment or when such values are to be passed to the
math function(MFADD, MFSUB, MFMUL, MFDIV, ...).
INPUTS
in - Value known at compilation time in IEEE format.
RETURNS
Depending on control macro returns input in FFP format
or passes it through(IEEE).
BASES
None.
NOTES
See the notes of 'QDEV_HLP_IEEETOFFP()' macro for more
details.
The use of this macro is necessary when one uses 'gcc'
and wants to perform 'mathffp.library' calls.
SEE ALSO
MFSUB(), MFMUL(), MFDIV(), MFFIX(), MFFLT(),
MFCMP(), MFCLE(), MFCGE(), QDEV_HLP_IEEETOFFP()
EXAMPLE
...
MFARITH x = MFVALUE(1.99999);
...
BUGS
None known.
----------------------------------------------------------------------------
| |
| |