Alexander Cyon

Results 144 comments of Alexander Cyon

@FranzBusch Right, makes perfect sense, thank you so much!

:+1: for podspec :)

I cannot emphasize enough how great it would be with Int256, UInt256, Int512, UInt512 etc! But why not also a BinaryInteger of non fixed width. There is already a [prototype...

@xwu Excellent performance! Great job! Any plan to include `BigUInt` as well? :)

@stephentyrone Hmm sorry I might misunderstand you, but if I understand it correctly @xwu excellent work so far just declares `BigInt` which is **signed** and thus can allow for negative...

@stephentyrone Yes I'm quite surprised that `Int` is the default type of Swift Array's size and also Indices... What is the index `-1`? It makes sense as an ephemeral value,...

@stephentyrone Excellent answer, description and motivation, thank you! @xwu Would be great if the API of `BigInt` could somewhat reflect the one of `attaswift/BigInt`- it would allow for easy transition...

Ok got it! I saw you've implemented `pow(_ base: Self, _ exponent: Self, modulo modulus: Self) -> Self?` which is great 👍, I've used that a lot in attaswift/BigInt when...

Also, should maybe the [BigInt prototype in Swift repo under _Prototypes_](https://github.com/apple/swift/blob/master/test/Prototypes/BigInt.swift) be deleted after this PR is merged? Seems like no need to keep it around? Thoughts on that? :)

Will StaticBigInt change the status of this PR, as in help it progress? https://github.com/apple/swift-evolution/blob/main/proposals/0368-staticbigint.md