Author | Post | |
unknown user |
how did ya notice ? |
|
15.03.2005 23:21:21 |
|
|
belo |
I didn't solve any challenges involving programming with big number (yet) but there is a language supporting big number with arbitrary precision (without additional libs). Its oz (http://www.mozart-oz.org). It's a very powerful language but quite unusual if you never program with declarative language. Actually, its more an academic language than a production one but still ... interesting. Belo |
|
16.03.2005 15:54:05 |
|
|
Chaosdreamer |
I have tried to implement the NTL library for c/c++ as The Hivemind suggested, but I continually get the same error when I try to compile. I have tried to work out what is wrong, but I have no idea. I am still in the early stages of learning, and would like to start using the Big Integers class (ZZ.h) but this is the only file in all of the NTL library that seems to be causing a problem. The error message is: "ZZ.h": E2015 Ambiguity between 'negate(ZZ &,const ZZ &)' and '_STL::negate<_Tp>' in function operator -(const ZZ &) at line 342 Any help from any of you c geniuses would be greatly appreciated. |
|
17.03.2005 21:19:37 |
|
|
chameleon |
i use java for these kinds of problems it is just slightly slower than c/c++ but it provides some basic things c doesn't have for example there is a class called BigInteger which can hold an nearly unlimited amounts of bits (limited by your RAM) for simplier problems the 64-Bit type long is even better (faster) vb is always slower than c or java but can also be used i just don't like vb because it is not a typed language (or not always) and therefore i get too much runtime errors c is just too complicated for me (see the error post above ) |
|
18.03.2005 21:23:49 |
|