{"id":20802392,"url":"https://github.com/alkis/decimal","last_synced_at":"2025-04-04T19:14:59.290Z","repository":{"id":45176575,"uuid":"47410068","full_name":"alkis/decimal","owner":"alkis","description":"Decimal Floating Point arithmetic for rust","archived":false,"fork":false,"pushed_at":"2023-03-28T03:42:35.000Z","size":7619,"stargazers_count":80,"open_issues_count":27,"forks_count":27,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T18:17:28.022Z","etag":null,"topics":["decimal","financial","floating-point","rust"],"latest_commit_sha":null,"homepage":null,"language":"C","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/alkis.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2015-12-04T14:54:26.000Z","updated_at":"2025-02-16T06:10:20.000Z","dependencies_parsed_at":"2024-06-19T00:14:35.576Z","dependency_job_id":"f4c8ec4f-5386-44a0-b957-eda3e7358f1a","html_url":"https://github.com/alkis/decimal","commit_stats":{"total_commits":140,"total_committers":17,"mean_commits":8.235294117647058,"dds":0.25,"last_synced_commit":"83cfb19d07188106e9399b36d2496a1a07ee619f"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alkis%2Fdecimal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alkis%2Fdecimal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alkis%2Fdecimal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alkis%2Fdecimal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alkis","download_url":"https://codeload.github.com/alkis/decimal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247234923,"owners_count":20905854,"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":["decimal","financial","floating-point","rust"],"created_at":"2024-11-17T18:31:13.543Z","updated_at":"2025-04-04T19:14:59.274Z","avatar_url":"https://github.com/alkis.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# decimal\n\n[![Travis](https://img.shields.io/travis/alkis/decimal.svg)](https://travis-ci.org/alkis/decimal)\n![Downloads](https://img.shields.io/crates/d/decimal.svg)\n[![Crates.io](https://img.shields.io/crates/v/decimal.svg)](https://crates.io/crates/decimal)\n![Apache license](https://img.shields.io/crates/l/decimal.svg)\n\nDecimal Floating Point arithmetic for rust based on the [decNumber\nlibrary](http://speleotrove.com/decimal/decnumber.html).\n\nThe library provides d128 which is a [128-bit decimal floating\npoint](https://en.wikipedia.org/wiki/Decimal128_floating-point_format) number.\nYou can use it as other primitive numbers in Rust. All operators are overloaded\nto allow ergonomic use of this type.\n\nTo emulate literals a macro is used `d128!`.\n\n[Documentation](https://docs.rs/decimal)\n\n# Example\n\n```rust\nlet x = d128!(1.234);\nlet y = d128!(1.111);\nlet z = d128!(2.345);\nassert_eq(x + y, z);\n```\n\n# Running the [decTest](http://speleotrove.com/decimal/dectest.html) test suite\n\n```bash\n$ cargo build\n$ ./target/debug/run-test decTest/decQuad.decTest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falkis%2Fdecimal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falkis%2Fdecimal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falkis%2Fdecimal/lists"}