[Issue 6447] iota(BigInt) too

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Dec 4 17:03:23 PST 2014


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

--- Comment #9 from bearophile_hugs at eml.cc ---
(In reply to hsteoh from comment #8)
> 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?).

Yes, of course. I'd like iota to work with bigints in general :-)

--


More information about the Digitalmars-d-bugs mailing list