I need a decimal arithmetics library

  • Thread starter Rein Anders Apeland
  • Start date
R

Rein Anders Apeland

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?
 
K

Karl Heinz Buchegger

Rein said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,175
Messages
2,570,944
Members
47,491
Latest member
mohitk

Latest Threads

Top