Computer Science Canada Big Numbers |
Author: | klopyrev [ Sun Mar 25, 2007 8:46 pm ] |
Post subject: | Big Numbers |
Does C++ include a class to handle arbitrary sized integers and floating point numbers similar to the BigInteger and BigDecimal classes of Java? I am looking for a standard class, not one you can find somewhere on the internet. KL |
Author: | abcdefghijklmnopqrstuvwxy [ Sun Mar 25, 2007 10:50 pm ] |
Post subject: | RE:Big Numbers |
Not a standard class but this will work (since it works I dont know why you'd need a standard class) http://www.apfloat.org/apfloat/ This'll let you work with ONLY 226 million digits with 256mb of ram lol. |
Author: | klopyrev [ Sun Mar 25, 2007 11:20 pm ] |
Post subject: | Re: Big Numbers |
Well, such a class is not available anywhere. I need one I can use for programming contests. KL |
Author: | bugzpodder [ Mon Mar 26, 2007 12:53 am ] |
Post subject: | RE:Big Numbers |
lol standard class. nonexistent. use java bigint or code your own. |