OT: computer arithmetic question on integer division
Globe Trotter
itsme_410 at yahoo.com
Mon Jan 17 23:15:38 UTC 2005
HI,
Does anyone know how the computer *actually* does integer
division? I understand that with powers of 2, it just does bit
shifting, but what about other powers, do you know?
(for example, 5/2 = 101/10 so shift the 101 by 1 and get 10, but how
does 5/3 work, lets say?)
Thanks and best wishes!
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail
More information about the users
mailing list