Java should provide exact real arithmetics
Roman Kennke
roman at kennke.org
Wed Dec 12 10:01:13 UTC 2007
Hi there,
<snip>
> Currently, there exist much better solutions than BigDecimal,
> unfortunately not from the Java space. For instance GMP
> ( http://gmplib.org/) is considered as one of the state of the art
> libraries in the area of precision arithmetics. And several libraries
> extent GMP such as the popular iRRAM project
> (http://www.informatik.uni-trier.de/iRRAM/).
>
> Check out the following page in order to get an idea how performable
> GMP is: http://gmplib.org/pi-with-gmp.html
>
> it demonstrates the calculation of pi with many digits.
>
>
> I´m asking myself why there is nothing comparable for the java
> platfom.
Have you tried:
http://www.apfloat.org/
Not everything has to be in the core platform IMO (I think it's already
much too bloated). Or maybe it could be considered to write a JNI-Layer
on top of GMP?
Cheers, Roman
--
http://kennke.org/blog/
More information about the core-libs-dev
mailing list