'int' is enough for 'length' to migrate code from x86 to x64

Marco Leise via Digitalmars-d digitalmars-d at puremagic.com
Fri Nov 21 09:12:03 PST 2014


Am Wed, 19 Nov 2014 10:22:49 +0000
schrieb "Dominikus Dittes Scherkl"
<Dominikus.Scherkl at continental-corporation.com>:

> On Wednesday, 19 November 2014 at 09:06:16 UTC, Maroc Leise wrote:
> > Clearly size_t (which I tend to alias with ℕ in my code for
> > brevity and coolness)
> No, this is far from the implied infinite set.
> A much better candidate for ℕ is BigUInt (and ℤ for BigInt)

How far exactly is it from infinity? And how much closer is
BigInt? I wanted a fast ℕ within the constraints of the
machine. ;)

-- 
Marco



More information about the Digitalmars-d mailing list