Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!usenet.ukfsn.org!not-for-mail From: Martin Gregorie Newsgroups: comp.lang.java.programmer Subject: Re: Fixed-point arithmetic library Date: Thu, 23 Feb 2012 23:05:40 +0000 (UTC) Organization: UK Free Software Network Lines: 18 Message-ID: References: <9ql7jpF3mnU1@mid.individual.net> NNTP-Posting-Host: 84.45.235.129 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: localhost.localdomain 1330038340 8801 84.45.235.129 (23 Feb 2012 23:05:40 GMT) X-Complaints-To: usenet@localhost.localdomain NNTP-Posting-Date: Thu, 23 Feb 2012 23:05:40 +0000 (UTC) User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:12285 On Thu, 23 Feb 2012 21:16:04 +0000, Tom Anderson wrote: > > It is currency-related. What's wrong with that? > I take it there is a mandatory and tightly specified set of operations for currency conversion (or equivalent) involved in what you need to do? If so, I've been there and they're usually specified that way to overcome the deficiencies and rounding errors inherent in fixed point decimal arithmetic as it is/was usually implemented in assembler or COBOL on hardware that uses binary integers or BCD. -- martin@ | Martin Gregorie gregorie. | Essex, UK org |