By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,406 Members | 888 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,406 IT Pros & Developers. It's quick & easy.

I need a decimal arithmetics library

P: n/a
Hi all,

We are developing a PoS application for Linux and are in need of a LGPL'ed
og other 'free'-licensed library
that can do exact decimal arithmetics for us.

It should be similar or according to the specs at
http://www2.hursley.ibm.com/decimal/

Somebody pointed my to the GNU Multiple Precision library, but that still
uses binary floating points.
I really need a library that can handle e.g. 0.1 exactly... at any
precision...

Anyone know of such a library?

--
Rein Anders Apeland
MIVU Solutions DA
Jul 22 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Rein Anders Apeland wrote:

Hi all,

We are developing a PoS application for Linux and are in need of a LGPL'ed
og other 'free'-licensed library
that can do exact decimal arithmetics for us.

It should be similar or according to the specs at
http://www2.hursley.ibm.com/decimal/

Somebody pointed my to the GNU Multiple Precision library, but that still
uses binary floating points.
I really need a library that can handle e.g. 0.1 exactly... at any
precision...

Anyone know of such a library?


Google is your friend

http://www.google.com
Search phrase: C++ exact arithmetic library

The second link it comes up with:
http://www.informatik.uni-trier.de/iRRAM/

seems like something that does what you want
--
Karl Heinz Buchegger
kb******@gascad.at
Jul 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.