lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, Aug 25, 2006 at 08:29:38AM +1000, D Burgess wrote:
> At the risk of being shot down in flames (what else is new), I think
> the Intel assembler instructions AAM and/or AAS provide the
> basis of packed BCD support.
> In practice the speed BCD or packed BCD (without hardware support)
> is dependent on usage (suprise), addition, substraction, comparison
> of a word long BCD is PDQ. Division is a slow.

I couldn't find on wikipedia mention of how the decimal point is
handled, just the sign. Anybody know?

Sam