SOURCE: qdev_macros.txt 1.16 (12/09/2014) English INDEP - PUBLIC
----------------------------------------------------------------------------
NAME
QDEV_HLP_IEEETOFFP() - Converts a float from IEEE 754
to FFP(Motorola) format.
SYNOPSIS
out = QDEV_HLP_IEEETOFFP(in);
MFARITH QDEV_HLP_IEEETOFFP(MFARITH);
FUNCTION
This macro was written with 'mathffp.library' in mind
so that it can be utilised from GCC too. IEEE TO FFP.
INPUTS
in - 32 bit IEEE float value.
RETURNS
Returns value in FFP format.
BASES
None.
NOTES
This macro is branchless thusly no overflow detection
is performed!
SEE ALSO
QDEV_HLP_FFPTOIEEE()
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
|