what libraries/classes to use for precision significant calculations?

J

Jess

Hello,

I'm doing some calculations with great amount of precisions required.
Can somebody please suggest some suitable libraries or classes to use?

Thanks,
Jess
 
H

hbrt

Hi!
It seems you need sometimes precise what kind of precision you
need ;-)
Try this site: http://www.oonumerics.org/oon/ . But maybe someone
could help you a little more, if you wrote what are you really doing?
You need floating point numerics or fixed point? Maybe your algorithm
needs great precision, but input and output data have lower ones? So
maybe there is a better, less-precise-greedy algorithm?
These are sugestion for going around the problem. But - try the site I
linked above.
And give us your results ;-)

Best regards,
hbrt
 
J

Jess

Thanks a lot! I just got round to check out the libraries, they seem
to offer functionalities for specific purposes. I think what I'm
looking for is something more general, some kind of classes that act
like Java's BigNumber or BigDecimal. Is there anything like that in c+
+?

Thanks!
Jess
 
V

Victor Bazarov

Jess said:
Thanks a lot! I just got round to check out the libraries, they seem
to offer functionalities for specific purposes. I think what I'm
looking for is something more general, some kind of classes that act
like Java's BigNumber or BigDecimal. Is there anything like that in
c+ +?

Google for "arbitrary precision floating point C++" or something like
that. You will most likely find at least something, choose the most
generic and use it.

V
 

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

Forum statistics

Threads
474,201
Messages
2,571,051
Members
47,656
Latest member
rickwatson

Latest Threads

Top