[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Multi-Precision Number-Class (Help needed).
From:       Klaus Niederkrueger <kniederk () math ! uni-koeln ! de>
Date:       2005-07-19 13:21:08
Message-ID: Pine.GSO.4.44.0507191452350.6590-100000 () Thales
[Download RAW message or body]

Today I have comitted the first parts of a library into the kde-svn
repository.

It is basically a wrapper class around the GNU multi-precision library
(GMP), and you can find it in kdeutils/kcalc/.

I have problems with the Makefiles, but you can compile it by typing

unsermake knumber.la
cd tests
unsermake knumbertest

and then run

./knumbertest

to see, what the class does so far.


The library is so far hacked together very quickly to get first results,
and it needs a lot of work before it is finished.

At first I would like to use this wrapper class only for kcalc, but if it
becomes more mature, I think it should be moved into kdecore: there are
many programs which can make use of such a class, most prominently
kspread and kbruch, but in principle I believe all user input should be
handled by this new class (why are monetary units doubles in KDE?).

There are several things that have to be fixed, e.g.

* the Makefiles

* not being a C++ expert, the implementation doesn't look very sound

* there are many methods, which are just stubs for now...

* I would like to have suggestions on the API

Thanks

	Klaus

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic