{"id":13731450,"url":"https://github.com/libcg/bfp","last_synced_at":"2026-01-18T12:12:21.956Z","repository":{"id":50267674,"uuid":"81805680","full_name":"libcg/bfp","owner":"libcg","description":"Beyond Floating Point - Posit C/C++ implementation","archived":false,"fork":false,"pushed_at":"2024-05-23T22:59:19.000Z","size":87,"stargazers_count":293,"open_issues_count":4,"forks_count":28,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-05-08T04:36:56.842Z","etag":null,"topics":["gustafson","ieee754","posit","unum"],"latest_commit_sha":null,"homepage":"","language":"C++","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/libcg.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":"2017-02-13T09:09:43.000Z","updated_at":"2025-05-06T11:54:32.000Z","dependencies_parsed_at":"2024-11-14T22:41:36.715Z","dependency_job_id":null,"html_url":"https://github.com/libcg/bfp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/libcg/bfp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libcg%2Fbfp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libcg%2Fbfp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libcg%2Fbfp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libcg%2Fbfp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/libcg","download_url":"https://codeload.github.com/libcg/bfp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libcg%2Fbfp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28535511,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T10:13:46.436Z","status":"ssl_error","status_checked_at":"2026-01-18T10:13:11.045Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["gustafson","ieee754","posit","unum"],"created_at":"2024-08-03T02:01:30.406Z","updated_at":"2026-01-18T12:12:21.934Z","avatar_url":"https://github.com/libcg.png","language":"C++","readme":"# bfp - Beyond Floating Point\n\nbfp is a C/C++ posit floating point format implementation.\n\nFrom Dr. John L. Gustafson's intro:\n\n\"A new data type called a \"posit\" is designed for direct drop-in replacement for\nIEEE Standard 754 floats. Unlike unum arithmetic, posits do not require\ninterval-type mathematics or variable size operands, and they round if an answer\nis inexact, much the way floats do. However, they provide compelling advantages\nover floats, including simpler hardware implementation that scales from as few\nas two-bit operands to thousands of bits. For any bit width, they have a larger\ndynamic range, higher accuracy, better closure under arithmetic operations, and\nsimpler exception-handling. For example, posits never overflow to infinity or\nunderflow to zero, and there is no \"Not-a-Number\" (NaN) value. Posits should\ntake up less space to implement in silicon than an IEEE float of the same size.\nWith fewer gate delays per operation as well as lower silicon footprint, the\nposit operations per second (POPS) supported by a chip can be significantly\nhigher than the FLOPs using similar hardware resources. GPU accelerators, in\nparticular, could do more arithmetic per watt and per dollar yet deliver\nsuperior answer quality.\"\n\n### Goals\n\n- Create a human readable posit reference implementation\n- Can be used as a library\n- Can be used in embedded projects\n\n### References\n\n- [Abstract](http://web.stanford.edu/class/ee380/Abstracts/170201.html)\n- [Paper](http://www.johngustafson.net/pdfs/BeatingFloatingPoint.pdf)\n- [Video presentation](https://www.youtube.com/watch?v=aP0Y1uAA-2Y)\n- [Posit slides](http://supercomputingfrontiers.com/2017/wp-content/uploads/2017/03/2_1100_John-Gustafson.pdf) ([previous slides](http://ee380.stanford.edu/Abstracts/170201-slides.pdf))\n- [Unum slides](http://www.johngustafson.net/presentations/Unums2.0.pdf)\n","funding_links":[],"categories":["Maths"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibcg%2Fbfp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibcg%2Fbfp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibcg%2Fbfp/lists"}