I need a decimal arithmetics library

Discussion in 'C++' started by Rein Anders Apeland, Aug 26, 2004.

  1. 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
     
    Rein Anders Apeland, Aug 26, 2004
    #1
    1. Advertising

  2. 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
     
    Karl Heinz Buchegger, Aug 26, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ven
    Replies:
    3
    Views:
    1,367
  2. Gilbert Fine
    Replies:
    8
    Views:
    932
    Zentrader
    Aug 1, 2007
  3. Vitaliy
    Replies:
    1
    Views:
    502
    Peter Otten
    May 29, 2008
  4. valpa
    Replies:
    11
    Views:
    1,613
    Steven D'Aprano
    Mar 24, 2009
  5. Replies:
    0
    Views:
    324
Loading...

Share This Page