[bigint] BigUnsigned

Matt McCutchen <matt at mattmccutchen.net>
Tue Jul 8 07:24:42 PDT 2008


On Tue, 2008-06-10 at 17:50 +1000, Ben Hill wrote:
> Thanks for the Big Number library, it’s extremely useful. I’ve been
> using it for the indexes in a multidimensional database I’ve been
> building. The sort that stores extreme amounts of data. I now have a
> need to store the index’s to file and am having trouble converting to
> a std:string type.

You can convert a BigUnsigned to a std::string (base 10) with
"easyBUtoString" (named "bigUnsignedToString" in the development
version), declared in BigIntegerUtils.hh.  Is that what you wanted?

Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://mattmccutchen.net/mailman/archives/bigint/attachments/20080708/6aab5240/attachment.pgp>


More information about the bigint mailing list