Standard Library Concerns (Phobos / Tango)

jcc7 technocrat7 at gmail.com
Fri Feb 8 08:46:10 PST 2008


== Quote from bearophile (bearophileHUGS at lycos.com)'s article
> dominik:
> > walter did AWHILE ago Bigint implementation
> > for zortech I believe, wouldn't it be nice to make it a part of D,
> > not library per se? Be ti simple BCD implementation, I don't care,
> > but I care for BigInt.
>
> I'd like to have such bignum lib in the std lib. If someone here
> knows of a *working* bignum lib, please tell me, because I have
> tried many but none works.

I've never needed a bignum lib, so I don't know what actually might work.

Have you tried the bigint in DWin?
http://www.dsource.org/projects/dwin/browser/trunk/math/bigint/

I think it's an updated version of the bigint in Deimos:
http://www.dsource.org/projects/deimos/browser/trunk/etc/bigint

Other related things in Deimos:
http://www.dsource.org/projects/deimos/browser/trunk/etc/bigrational.d
http://www.dsource.org/projects/deimos/browser/trunk/etc/longrational.d



More information about the Digitalmars-d mailing list