{"id":15037473,"url":"https://github.com/jitsusama/uint128","last_synced_at":"2025-07-23T00:07:41.752Z","repository":{"id":3808697,"uuid":"50750588","full_name":"Jitsusama/UInt128","owner":"Jitsusama","description":"A Swift 128-bit Unsigned Integer Data Type conforming to the UnsignedInteger Protocol","archived":false,"fork":false,"pushed_at":"2023-09-02T14:45:47.000Z","size":389,"stargazers_count":61,"open_issues_count":3,"forks_count":24,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-07-22T14:55:13.974Z","etag":null,"topics":["swift","swift3","swift4","unsigned-integers"],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Jitsusama.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-30T23:43:31.000Z","updated_at":"2024-11-24T02:19:11.000Z","dependencies_parsed_at":"2024-06-21T05:44:42.884Z","dependency_job_id":"e0c49466-964e-4309-a7cf-5936820742a6","html_url":"https://github.com/Jitsusama/UInt128","commit_stats":{"total_commits":180,"total_committers":8,"mean_commits":22.5,"dds":"0.19444444444444442","last_synced_commit":"7da0b5020ae2fbf59b8c9b2910636d9d78ecb5d8"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/Jitsusama/UInt128","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jitsusama%2FUInt128","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jitsusama%2FUInt128/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jitsusama%2FUInt128/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jitsusama%2FUInt128/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jitsusama","download_url":"https://codeload.github.com/Jitsusama/UInt128/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jitsusama%2FUInt128/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266592310,"owners_count":23953109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["swift","swift3","swift4","unsigned-integers"],"created_at":"2024-09-24T20:34:43.123Z","updated_at":"2025-07-23T00:07:41.709Z","avatar_url":"https://github.com/Jitsusama.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UInt128\nA Swift 128-bit Unsigned Integer Data Type conforming to the UnsignedInteger,\nFixedWidth, BinaryInteger, Hashable, Numeric, Equatable,\nExpressibleByIntegerLiteral, CustomStringConvertible, CustomDebugStringConvertible,\nComparable and Codable (thanks @adamnemecek) Protocols,\nas well as extending the BinaryFloatingPoint and String types to support operating\nwith its new type.\n\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n\n## Installation\nThis library includes Carthage, CocoaPods and SPM support out of the box.\nReference this git repository in a Podfile, Cartfile or Package.swift file in\norder to easily include this library while also being able to easily track\nchanges.\n\nYou can also manually copy over the `Sources/UInt128.swift` file into your project\nand it should work great. I've purposely kept this library constrained to a\nsingle file in order to support this use case.\n\n## Usage\nSince this library fully implements the UnsignedInteger protocol, you can use\nthis data type just like any other native UInt data type. For numbers larger\nthan UIntMax, you'll either want to call the `init(upperBits: UInt64, lowerBits:\nUInt64)` initializer, or, use the `init(_ source: String)` initializer to\ncreate an instance with a string.  The string can be in binary, octal, decimal\nor hexadecimal.\n\nFor example:\n\n    let uInt128ByString = UInt128(\"0xffaabbcc00129823fa9a12d4aa87f498\")!\n    let uInt128ByInteger: UInt128 = 1234\n\n## Building\nThis project includes an example Xcode project for building the framework that\nalso includes a playground that can be utilized for testing things out. This\nXcode project can build from one target a iphone, iphonesimulator or macos\nbuild. It also includes unit testing and code coverage.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjitsusama%2Fuint128","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjitsusama%2Fuint128","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjitsusama%2Fuint128/lists"}