{"id":32151743,"url":"https://github.com/somerandomiosdev/half","last_synced_at":"2025-10-21T10:52:12.510Z","repository":{"id":45890033,"uuid":"239935955","full_name":"SomeRandomiOSDev/Half","owner":"SomeRandomiOSDev","description":"Swift Half-Precision Floating Point","archived":false,"fork":false,"pushed_at":"2023-11-15T19:25:58.000Z","size":214,"stargazers_count":12,"open_issues_count":2,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-01T18:55:04.689Z","etag":null,"topics":["carthage","cocoapods","hacktoberfest","half-precision","ios","macos","swift","swiftpm","tvos","watchos"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SomeRandomiOSDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-12T05:39:13.000Z","updated_at":"2025-09-01T02:59:55.000Z","dependencies_parsed_at":"2022-07-25T02:18:02.548Z","dependency_job_id":null,"html_url":"https://github.com/SomeRandomiOSDev/Half","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/SomeRandomiOSDev/Half","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SomeRandomiOSDev%2FHalf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SomeRandomiOSDev%2FHalf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SomeRandomiOSDev%2FHalf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SomeRandomiOSDev%2FHalf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SomeRandomiOSDev","download_url":"https://codeload.github.com/SomeRandomiOSDev/Half/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SomeRandomiOSDev%2FHalf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280248569,"owners_count":26297925,"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-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["carthage","cocoapods","hacktoberfest","half-precision","ios","macos","swift","swiftpm","tvos","watchos"],"created_at":"2025-10-21T10:52:08.982Z","updated_at":"2025-10-21T10:52:12.501Z","avatar_url":"https://github.com/SomeRandomiOSDev.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Half\n\n[![License MIT](https://img.shields.io/cocoapods/l/Half.svg)](https://cocoapods.org/pods/Half)\n[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/Half.svg)](https://cocoapods.org/pods/Half) \n[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) \n[![Platform](https://img.shields.io/cocoapods/p/Half.svg)](https://cocoapods.org/pods/Half)\n![Linux](https://img.shields.io/badge/platform-linux-lightgrey)\n[![Code Coverage](https://codecov.io/gh/SomeRandomiOSDev/Half/branch/master/graph/badge.svg)](https://codecov.io/gh/SomeRandomiOSDev/Half)\n\n[![Carthage](https://github.com/SomeRandomiOSDev/Half/actions/workflows/carthage.yml/badge.svg)](https://github.com/SomeRandomiOSDev/Half/actions/workflows/carthage.yml)\n[![Cocoapods](https://github.com/SomeRandomiOSDev/Half/actions/workflows/cocoapods.yml/badge.svg)](https://github.com/SomeRandomiOSDev/Half/actions/workflows/cocoapods.yml)\n[![Documentation](https://github.com/SomeRandomiOSDev/Half/actions/workflows/documentation.yml/badge.svg)](https://github.com/SomeRandomiOSDev/Half/actions/workflows/documentation.yml)\n[![Swift Package](https://github.com/SomeRandomiOSDev/Half/actions/workflows/swift-package.yml/badge.svg)](https://github.com/SomeRandomiOSDev/Half/actions/workflows/swift-package.yml)\n[![SwiftLint](https://github.com/SomeRandomiOSDev/Half/actions/workflows/swiftlint.yml/badge.svg)](https://github.com/SomeRandomiOSDev/Half/actions/workflows/swiftlint.yml)\n[![XCFramework](https://github.com/SomeRandomiOSDev/Half/actions/workflows/xcframework.yml/badge.svg)](https://github.com/SomeRandomiOSDev/Half/actions/workflows/xcframework.yml)\n[![Xcode Project](https://github.com/SomeRandomiOSDev/Half/actions/workflows/xcodebuild.yml/badge.svg)](https://github.com/SomeRandomiOSDev/Half/actions/workflows/xcodebuild.yml)\n\n**Half** is a lightweight framework containing a Swift implementation for a half-precision floating point type for iOS, macOS, tvOS, and watchOS.\n\n## Installation\n\n**Half** is available through [CocoaPods](https://cocoapods.org), [Carthage](https://github.com/Carthage/Carthage) and the [Swift Package Manager](https://swift.org/package-manager/). \n\nTo install via CocoaPods, simply add the following line to your Podfile:\n\n```ruby\npod 'Half'\n```\n\nTo install via Carthage, simply add the following line to your Cartfile:\n\n```ruby\ngithub \"SomeRandomiOSDev/Half\"\n```\n\nTo install via the Swift Package Manager add the following line to your `Package.swift` file's `dependencies`:\n\n```swift\n.package(url: \"https://github.com/SomeRandomiOSDev/Half.git\", from: \"1.0.0\")\n```\n\n## Usage\n\nFirst import **Half** at the top of your Swift file:\n\n```swift\nimport Half\n```\n\nAfter importing, use the imported `Half` type excatly like you'd use Swift's builtin `Float`, `Double`, or `Float80` types. \n\n```swift\nlet value: Half = 7.891\nlet squareRoot = sqrt(value)\n\n...\n```\n\n## NOTE\n\n* [[SE-0277]](https://github.com/apple/swift-evolution/blob/master/proposals/0277-float16.md) added support for a native `Float16` type starting with Swift 5.3, therefore, this library is no longer recommended for projects using Swift 5.3 or later and this will likely be deprecated sometime in the future.\n\n## Contributing\n\nWhether it's submitting a feature request, reporting a bug, or writing code yourself, all contributions to this library are welcome! Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for more information on how you can contribute.\n\n## Author\n\nJoe Newton, somerandomiosdev@gmail.com\n\n## License\n\n**Half** is available under the MIT license. See the `LICENSE` file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsomerandomiosdev%2Fhalf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsomerandomiosdev%2Fhalf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsomerandomiosdev%2Fhalf/lists"}