| Q D E V _ H L P _ E _ D I V U L O N G 1 0 ( )
| | | | | SOURCE: qdev_macros.txt 1.16 (12/09/2014) English INDEP - PUBLIC
----------------------------------------------------------------------------
NAME
QDEV_HLP_E_DIVULONG10() - Enhanced, by 10 32 bit integer
division.
SYNOPSIS
res = QDEV_HLP_E_DIVULONG10(num)
[ULONG] QDEV_HLP_E_DIVULONG10([ULONG]);
FUNCTION
This macro allows to quickly divide 32 bit number by 10
using CPU independent code.
INPUTS
num - 32 bit dividend(unsigned).
RETURNS
Returns the 32 bit integer that is 10 times smaller than
'num'.
BASES
None.
NOTES
This macro is especially efficient on 68020 and up CPUs.
No underflow, nor divide-by-zero are ever reported, the
default CPU/OS exception mechanism is not involved!
SEE ALSO
QDEV_HLP_N_DIVULONG10(), QDEV_HLP_N_MULUXXX10(),
QDEV_HLP_MULU32X32()
EXAMPLE
None.
BUGS
This reciprocal multiplication can only return accurate
results when 'num' is smaller or equal 2863311538!
----------------------------------------------------------------------------
| |
| |