Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!wuarchive!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!aplcomm!news From: wilkins@mailer.jhuapl.edu (Al Wilkins) Newsgroups: comp.lang.c Subject: Re: Breadking 4 billion n Message-ID: <162@aplcomm.JHUAPL.EDU> Date: 10 Aug 90 13:09:56 GMT References: <3271@stl.stc.co.uk> <4308@tahoe.unr.edu> Sender: news@aplcomm.JHUAPL.EDU Reply-To: wilkins@mailer.jhuapl.edu (Al Wilkins) Organization: Johns Hopkins University Applied Physics Lab Lines: 11 Hey, I have the same problem. It depends on what you want to do with the numbers. If you are only totaling, you can use a counter to increment the billions. When your total is greater that 1 billion, add one to the increment variable and subtract 1 billion from the total. If you are going to manipulate the total, then I don't know that you can do it. Unsigned Long maximum is 2^32. Carl Schelin (using Al's machine) --