64-bits Divsion help.

Kristian Jorg TX/DKL etxkrjg at solsta.ericsson.se
Wed Jan 30 21:24:50 AEST 1991


Hello!

I want to divide a 64-bits integer with a 32-bits integer. The quotient and remainder should be 32 bits each . The size of long int on my machine is 32 bits, so I am stuck.
Is there somebody that have solved this problem before? I need c code or a math
library.

Please advice about an anon-ftp machine where I can get a code to solve
this problem, or if anybody has code that they want to share, please mail
it to me.

Please answer by email to etxkrjg at solsta.ericsson.se. I will summarize the
answers and post it later in this newsgroup.

-- 
----------------------------------
Kristian Jorg (J|rg)
Email: etxkrjg at solsta.ericsson.se



More information about the Comp.unix.programmer mailing list