Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!ericom!solsta.ericsson.se!etxkrjg From: etxkrjg@solsta.ericsson.se (Kristian Jorg TX/DKL) Newsgroups: comp.unix.programmer Subject: 64-bits Divsion help. Message-ID: <1991Jan30.102450.7872@ericsson.se> Date: 30 Jan 91 10:24:50 GMT Sender: news@ericsson.se Reply-To: etxkrjg@solsta.ericsson.se (Kristian Jorg TX/DKL) Organization: Ericsson Telecom AB, Karlstad, Sweden. Lines: 17 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@solsta.ericsson.se. I will summarize the answers and post it later in this newsgroup. -- ---------------------------------- Kristian Jorg (J|rg) Email: etxkrjg@solsta.ericsson.se