Big integrals, opApply autoindex, safer integrals

Weed resume755 at mail.ru
Fri Dec 26 06:05:15 PST 2008


bearophile пишет:
> Weed:
>> It is not enough to make Bigint the object?
> 
> I think I have already answered your question (and at the moment BigInt is a struct, I think).


I did not understand the problem.

You can make an object Bigint. You can add, deduct the value BigInt. You
can declare them as follows:

Bigint x = "71_459_266_416_693_160_362_545_788_781_600";

or even so (to avoid confusion with strings):

Bigint x = Bigint("71_459_266_416_693_160_362_545_788_781_600");

Only that it will be impossible to do so to declare x static :)

And another: where else can I apply it?



More information about the Digitalmars-d mailing list