[swift-evolution] Arbitrary-sized integers
Félix Cloutier
felixcca at yahoo.ca
Wed Jun 15 10:58:10 CDT 2016
I know that one, but I merely need fixed-size big integers. Backing all of my integers with an array seems overly expensive.
Félix
> Le 14 juin 2016 à 23:25:16, T.J. Usiyan <griotspeak at gmail.com> a écrit :
>
> There is also a fairly robust implementation of arbitrary size integers here https://github.com/lorentey/BigInt/tree/master/Sources <https://github.com/lorentey/BigInt/tree/master/Sources>
>
> On Tue, Jun 14, 2016 at 10:02 PM, Charlie Monroe via swift-evolution <swift-evolution at swift.org <mailto:swift-evolution at swift.org>> wrote:
> 128-bit Ints have been discussed here a few weeks ago:
>
> https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20160523/018957.html <https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20160523/018957.html>
>
>> On Jun 15, 2016, at 5:50 AM, Félix Cloutier via swift-evolution <swift-evolution at swift.org <mailto:swift-evolution at swift.org>> wrote:
>>
>> I'm writing a program that would need Int128s. Since Swift uses LLVM and LLVM has good support for arbitrary-sized integers (well, up to 2^24 bits anyways), I was wondering if there was any interest in having arbitrary-sized integers in Swift.
>>
>> Félix
>>
>> _______________________________________________
>> swift-evolution mailing list
>> swift-evolution at swift.org <mailto:swift-evolution at swift.org>
>> https://lists.swift.org/mailman/listinfo/swift-evolution <https://lists.swift.org/mailman/listinfo/swift-evolution>
>
>
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org <mailto:swift-evolution at swift.org>
> https://lists.swift.org/mailman/listinfo/swift-evolution <https://lists.swift.org/mailman/listinfo/swift-evolution>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160615/5bde66ec/attachment.html>
More information about the swift-evolution
mailing list