Swiftpack.co -  Package - spevans/swift-integer128
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Int128 and UInt128 for Swift
.package(url: "https://github.com/spevans/swift-integer128.git", from: "0.0.2")


Implementation of Int128 and UInt128 for Swift.

macOS Linux

Requires Swift 5.1, all platforms supported.

Current version 0.0.2

Adding Integer128 as a Dependency

To use the Integer128 library in a SwiftPM project, add the following line to the dependencies in your Package.swift file:

.package(url: "https://github.com/spevans/swift-integer128", .branch("main")),

Then include "Integer128" as a dependency for your executable target:

.product(name: "Integer128", package: "swift-integer128")
let package = Package(
    name: "int128test",
    products: [
        // Products define the executables and libraries produced by a package, and make them visible to other packages.
        .library(name: "Int128Lib", targets: ["Int128Lib"]),
            name: "int128test",
            targets: ["int128test"]),
    dependencies: [
        .package(url: "https://github.com/spevans/swift-integer128", .branch("main")),

    targets: [
            name: "int128test",
            dependencies: [ "Int128Lib"]),
            name: "Int128Lib",
            dependencies: [.product(name: "Integer128", package: "swift-integer128")]),

Copyright (c) 2019 - 2020 Simon Evans.


Stars: 0
Last commit: 4 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco