Re: Java should provide exact real arithmetics

2007-12-12 Thread Andreas Andreakis
Hi, sorry everybody, but I copy-pasted a wrong code snipped in my original post. Because most of the time is spend in string concatination and printing the output of each calculation loop. this is a correct version: int loops = 100; for(int i = 0; i wrote: > Hi there, > > > >

Re: Java should provide exact real arithmetics

2007-12-12 Thread Roman Kennke
Hi there, > 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 th

Java should provide exact real arithmetics

2007-12-12 Thread Andreas Andreakis
Hi, my default platform of choice usually is the jvm. But right now, I´m working for a project, where I can´t use it. The project requires high precision, error free and fast arithmetics with real numbers. And it turns out that java does not fit this requirements. BigDecimal of course is a major