Swiftpack.co - Package - Boilertalk/BigInt.swift

CI Status Version License Platform Carthage compatible

:alembic: BigInt

:warning: :warning: :warning: This fork will not be maintained any more in favour of the original library which is now also officially supported on Linux and the newest Swift version. Please switch to the original library ASAP :warning: :warning: :warning:

This library is a fork of BigInt, a BigInt implementation for Swift.

Based on the original library, this fork doesn't have any dependencies, supports Swift 4.1 on all Platforms (removed Swift Shim calls for compatibility between different versions) and aims to implement all major calculations as efficient as possible.

Example

For examples have a look at the original library readme or look through the source code.

Installation

CocoaPods

BigInt.swift is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'BigInt.swift'

Carthage

BigInt.swift is compatible with Carthage, a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To install it, simply add the following line to your Cartfile:

github "Boilertalk/BigInt.swift"

Swift Package Manager

BigInt.swift is compatible with Swift Package Manager v4 (Swift 4 and above). Simply add it to the dependencies in your Package.swift.

dependencies: [
    .package(url: "https://github.com/Boilertalk/BigInt.swift.git", from: "1.0.0")
]

After which you can import it in your .swift files.

import BigInt

Author

Károly Lőrentey for most of the actual implementation (everything until #7f58885d3261d7246aa8820b61273d5b7efdca09)

The awesome guys at Boilertalk :alembic: for all additions and compatibility modifications after #2d01b8dab9eb7cd5332b980067c5fa6a6d16427b

License

BigInt is available under the MIT license. See the LICENSE file for more info.

Github

link
Stars: 0
Help us keep the lights on

Dependencies