[Issue 6447] iota(BigInt) too

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Dec 4 16:54:51 PST 2014


https://issues.dlang.org/show_bug.cgi?id=6447

--- Comment #8 from hsteoh at quickfur.ath.cx ---
Yes, but if BigInt(10) should work, then BigInt(2)^^65536 should work too. I
don't think you'd like it if the library imposed some arbitrary subrange on
your numeric types that may be used with iota (what if iota(10) worked but
iota(11) didn't?).

--


More information about the Digitalmars-d-bugs mailing list