| Q D E V _ H L P _ N _ M U L U X X X 1 0 ( )
| | | | | SOURCE: qdev_macros.txt 1.16 (12/09/2014) English INDEP - PUBLIC
----------------------------------------------------------------------------
NAME
QDEV_HLP_N_MULUXXX10() - By 10, type independent int.
multiplication.
SYNOPSIS
res = QDEV_HLP_N_MULUXXX10(num, type);
<type> QDEV_HLP_N_MULUXXX10(<integer>, <type>);
FUNCTION
This macro allows to multiply by 10 using bitwise ops.
INPUTS
num - Any word size operand(unsigned).
type - Type of that operand(UWORD, ULONG, UQUAD, ...).
RETURNS
Ret. the integer of '<type>' that is 10 times greater
than 'num'.
BASES
None.
NOTES
This macro is very efficient when working on UQUADs on
68xxx CPUs. Keep in mind that no overflow is signaled!
SEE ALSO
QDEV_HLP_E_DIVULONG10(), QDEV_HLP_N_DIVULONG10()
QDEV_HLP_MULU32X32()
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
| |
| |