[Issue 6447] iota(BigInt) too

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


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

--- Comment #7 from bearophile_hugs at eml.cc ---
(In reply to hsteoh from comment #6)
> That doesn't help when you actually *need* a BigInt, e.g.,
> iota(BigInt(2)^^65536). Of course, you'd run into other problems with that
> (e.g., you'll be waiting a looong time for your program to finish), but the
> idea is that you want to iterate over numbers that only BigInt can
> represent, right?

The idea is that I'd like iota(BigInt(10)) to work. In the meantime I use some
workarounds.

--


More information about the Digitalmars-d-bugs mailing list