Is there anything in boost (or elsewhere) similar to Java's BigInteger? Thanks, Noel
--- Noel Yap wrote:
Is there anything in boost (or elsewhere) similar to Java's BigInteger?
None yet in the main distribution. However, there were two candidates submitted a while back. One is in the Sandbox CVS http://cvs.sourceforge.net/viewcvs.py/boost-sandbox/boost-sandbox/, the library is called "bigint". The other was submitted by Christopher Diggins; I can't find it in the Vault, but I have a local copy. Cromwell D. Enage __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
On Tue, 25 Apr 2006 19:26:16 -0700 (PDT), Cromwell Enage wrote
--- Noel Yap wrote:
Is there anything in boost (or elsewhere) similar to Java's BigInteger?
None yet in the main distribution. However, there were two candidates submitted a while back. One is in the Sandbox CVS http://cvs.sourceforge.net/viewcvs.py/boost-sandbox/boost-sandbox/, the library is called "bigint".
The description / docs look for bigint look like a nice piece of work to me. Too bad it looks like the implementation is missing :-( Ron Garcia looks like he worked on this -- perhaps he can comment on the state of things.. Jeff
On Tue, 25 Apr 2006 20:25:57 -0700, Jeff Garland wrote replies to self....
On Tue, 25 Apr 2006 19:26:16 -0700 (PDT), Cromwell Enage wrote
--- Noel Yap wrote:
Is there anything in boost (or elsewhere) similar to Java's BigInteger?
None yet in the main distribution. However, there were two candidates submitted a while back. One is in the Sandbox CVS http://cvs.sourceforge.net/viewcvs.py/boost-sandbox/boost-sandbox/, the library is called "bigint".
The description / docs look for bigint look like a nice piece of work to me. Too bad it looks like the implementation is missing :-( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oops, it's there. I got confused by the fact that bigint.hpp just under boost and not under boost/bigint as it should be ;-) Jeff
This probably isn't what you want, but I needed 1024bit unsigned
integers for something and wrote this:
http://dev.int64.org/snips/bigint.hpp
It could use some optimization though, especially around shifting.
On 4/25/06, Noel Yap
Is there anything in boost (or elsewhere) similar to Java's BigInteger?
Thanks, Noel _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Cory Nelson http://www.int64.org
participants (4)
-
Cory Nelson
-
Cromwell Enage
-
Jeff Garland
-
Noel Yap