{"id":19760514,"url":"https://github.com/ryanavella/fixed","last_synced_at":"2026-06-05T21:31:47.413Z","repository":{"id":57552224,"uuid":"156811790","full_name":"ryanavella/fixed","owner":"ryanavella","description":"Fixed Point Integers for Go","archived":false,"fork":false,"pushed_at":"2019-06-03T03:00:34.000Z","size":12,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-01-10T23:20:48.087Z","etag":null,"topics":["fixed-point","go","golang","integer","integers"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/ryanavella.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-MIT","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-09T04:49:34.000Z","updated_at":"2019-06-03T03:00:36.000Z","dependencies_parsed_at":"2022-09-26T18:50:36.523Z","dependency_job_id":null,"html_url":"https://github.com/ryanavella/fixed","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanavella%2Ffixed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanavella%2Ffixed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanavella%2Ffixed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanavella%2Ffixed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanavella","download_url":"https://codeload.github.com/ryanavella/fixed/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241090586,"owners_count":19907981,"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","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":["fixed-point","go","golang","integer","integers"],"created_at":"2024-11-12T03:37:41.713Z","updated_at":"2025-02-28T02:46:53.891Z","avatar_url":"https://github.com/ryanavella.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![](https://godoc.org/github.com/ryanavella/fixed?status.svg)](https://godoc.org/github.com/ryanavella/fixed) [![Go Report Card](https://goreportcard.com/badge/github.com/ryanavella/fixed)](https://goreportcard.com/report/github.com/ryanavella/fixed) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/ryanavella/fixed/blob/develop/LICENSE-MIT) [![License: Unlicense](https://img.shields.io/badge/license-Unlicense-blue.svg)](https://github.com/ryanavella/fixed/blob/develop/LICENSE-UNLICENSE)\n\n# Fixed\n\nFixed point integers for Go.\n\nThe following fixed point representations are implemented:\n\n* int32_32\n\nFixed is free and open source software distributed under the terms of both the MIT License and the Unlicense.\n\n## Installing\n\n```shell\ngo get github.com/ryanavella/fixed\n```\n\n## Usage\n\n```golang\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/ryanavella/fixed/int32_32\"\n)\n\nfunc main() {\n\ta := int32_32.FromInt32(-1)    // -1\n\tb := int32_32.FromFloat64(1.5) // +1.5\n\tfmt.Println(a+b, a-b, a.Mul(b))\n}\n```\n\n## Scope\n\nThis package is intended for efficient and fast computations (i.e. for scientific and mathematical applications). There are no plans to support applications which require constant-time cryptographic security.\n\n## Contributions\n\nSee [contributor guidelines](CONTRIBUTING.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanavella%2Ffixed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanavella%2Ffixed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanavella%2Ffixed/lists"}