Author |
Message |
klopyrev
|
Posted: 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 |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
abcdefghijklmnopqrstuvwxy
|
Posted: 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. |
|
|
|
|
![](images/spacer.gif) |
klopyrev
|
Posted: 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 |
|
|
|
|
![](images/spacer.gif) |
bugzpodder
![](http://www.vbforums.com/avatar.php?userid=31755&dateline=1038631511)
|
Posted: Mon Mar 26, 2007 12:53 am Post subject: RE:Big Numbers |
|
|
lol standard class. nonexistent.
use java bigint or code your own. |
|
|
|
|
![](images/spacer.gif) |
|