mkrd/Swift-BigInt

Use of undeclared type 'BinaryInteger' & 'SignedNumeric' in in xcode 8.3.1

Closed this issue · 3 comments

I am getting error in SMP.swift file

screen shot 2017-10-03 at 5 53 24 pm

I just copied SMP.swift from master branch file in my project and tried to compile

Please let me know what's wrong there

mkrd commented

Are you running it in a Swift 4 project? It won't work with Swift 3 or lower

I am using it in swift 3, What to do to use in Swift 3 +

mkrd commented

For the library to work you will need swift 4. Unfortunately I can't provide backwards compatibility, if you really need it to work in swift 3 you could try to refactor it by yourself (although that will be hassle)