std.bigint?

Don nospam at nospam.com
Wed Jan 27 00:04:16 PST 2010


Paul D. Anderson wrote:
> Julian Salazar Wrote:
> 
>> Just wondering, is std.bigint still included in the D2 standard library? 
>> Yes, the source file is there and the documentation is on the site, but it 
>> does not appear on the list of standard library modules on the sidebar for 
>> D2 (but unlike the documentation for std.bitarray, which indicates 
>> deprecation, the bigint documentation does not). In addition, there are some 
>> instances where BigInt is a bit dodgy (for example, it is impossible to do 
>> something such as someBigInt % someIntegerVariable for ANY 
>> someIntegerVariable type that isn't int, meaning that uint, long, ubyte, 
>> etc. all produce errors - I might try figuring out the cause of this and 
>> file some bug reports later).
>>
>> So is bigint being deprecated in the future or is it just unmaintained?
>>
>> Thanks,
>> - Julian 
>>
> 
> I've written a bug report on the absence of the docs for bigint in the D delivery several releases ago. At first I thought it was a simple oversight, but I have become suspicious...what do they know that we don't???
> 
> I know the current implementation (by Janice Caron) has some shortcomings. I thought that someone (Don?) was creating a new implementation, but I don't know if that's true or not.

It's true. I just haven't got around to including it yet. I was waiting 
for my cache module to be included in druntime; that finally happened in 
the last release.

> 
> Paul



More information about the Digitalmars-d mailing list