Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!news.lightlink.com!news.iecc.com!nerds-end From: glen herrmannsfeldt Newsgroups: comp.compilers Subject: Re: Any free compilers for 64-bit integer arithmetics? Date: Wed, 21 Sep 2011 03:28:20 +0000 (UTC) Organization: Aioe.org NNTP Server Lines: 20 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <11-09-025@comp.compilers> References: <11-09-024@comp.compilers> NNTP-Posting-Host: news.iecc.com X-Trace: gal.iecc.com 1316744559 59195 64.57.183.58 (23 Sep 2011 02:22:39 GMT) X-Complaints-To: abuse@iecc.com NNTP-Posting-Date: Fri, 23 Sep 2011 02:22:39 +0000 (UTC) Keywords: available Posted-Date: 22 Sep 2011 22:22:39 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: x330-a1.tempe.blueboxinc.net comp.compilers:275 Mok-Kong Shen wrote: > I want to do unsigned integer arithmetics on 64-bit opearands running > on 64-bit Windows. Are there any free compilers of any higher-level > language (higher than assembly language) that could be used for that > purpose? Thanks. Many compilers will do unsigned (and signed) 64 bit arithmetic even on 32 bit machines. For free compilers, gcc is very popular. Most processors offer addition and subtraction at their native width, multiplication with a double width product, and divide with a double width dividend. If you want more, you, or the library of your compiler, have to combine those as needed. Add, subtract, and multiply are easy, divide is a little harder. Java, also available free, supports a 64 bit type (long). -- glen