[swift-users] Range<UInt64>.count can abort

Jens Alfke jens at mooseyard.com
Sat Apr 16 16:34:49 CDT 2016


> On Apr 16, 2016, at 12:53 PM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
> 
> It needs to be a signed integer.  And a signed integer needs a distance type itself.

Yeah, there’s an infinite regress implied there, since a distance type has to be one bit larger than its source type.

The only plausible solution is bignums. Any talk of adding those to Swift?

—Jens
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160416/2a83c24c/attachment.html>


More information about the swift-users mailing list