
Hi ladies and gentlemen: I need to calculate 500! (an ACM problem) and think I would need a BigNumber class. Can anyone give hints? HJin --------------------------------- Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games.

On 7/4/07, Hai Jin <hjaddin@yahoo.com> wrote:
Hi ladies and gentlemen:
I need to calculate 500! (an ACM problem) and think I would need a BigNumber class. Can anyone give hints?
I believe someone is developing Yet Another BigInt Implementation for Summer of Code 07, but I can't seem to find a link anywhere. It's definitely not in Boost yet.
HJin
--------------------------------- Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
-- Cory Nelson http://www.int64.org

Dear Sir: Thanks for your quick reply. Then it seems that I have to write my own version of BigNumber of BigInt. I would think it will make boost stronger if the BigNumber class is included in boost library. Jave has it, why C++ ignore it? HJin Cory Nelson <phrosty@gmail.com> wrote: On 7/4/07, Hai Jin wrote:
Hi ladies and gentlemen:
I need to calculate 500! (an ACM problem) and think I would need a BigNumber class. Can anyone give hints?
I believe someone is developing Yet Another BigInt Implementation for Summer of Code 07, but I can't seem to find a link anywhere. It's definitely not in Boost yet.
HJin
--------------------------------- Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
-- Cory Nelson http://www.int64.org _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost --------------------------------- Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.

On 04/07/07, Hai Jin <hjaddin@yahoo.com> wrote:
I would think it will make boost stronger if the BigNumber class is included in boost library.
See http://code.google.com/soc/2007/boost/about.html
Jave has it, why C++ ignore it?
<guess> C++ doesn't have it because a large majority of applications don't need it, and the implementation is reasonably straight-forward. (If difficult to make fast.) </guess> ~ Scott

On Jul 4, 2007, at 6:06 PM, Hai Jin wrote:
Dear Sir:
Thanks for your quick reply. Then it seems that I have to write my own version of BigNumber of BigInt.
I would think it will make boost stronger if the BigNumber class is included in boost library. Jave has it, why C++ ignore it?
If all you need are bignums take a look at the GNU multiprecision library (http://gmplib.org/). It has a c++ wrapper. Regards, Maurizio

U maybe need apfloat http://www.apfloat.org/.
I believe someone is developing Yet Another BigInt Implementation for Summer of Code 07, but I can't seem to find a link anywhere. It's definitely not in Boost yet.
participants (5)
-
Cory Nelson
-
Hai Jin
-
Maurizio Vitale
-
Scott McMurray
-
ZiDing