{"id":15030731,"url":"https://github.com/rust-lang/libm","last_synced_at":"2025-05-15T04:06:09.771Z","repository":{"id":32742499,"uuid":"140666750","full_name":"rust-lang/libm","owner":"rust-lang","description":"A port of MUSL's libm to Rust.","archived":true,"fork":false,"pushed_at":"2025-04-20T05:20:04.000Z","size":1562,"stargazers_count":632,"open_issues_count":0,"forks_count":102,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-05-03T03:07:56.982Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rust-lang.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","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,"zenodo":null}},"created_at":"2018-07-12T05:47:15.000Z","updated_at":"2025-04-30T21:45:54.000Z","dependencies_parsed_at":"2023-02-10T11:33:08.321Z","dependency_job_id":"8ba911be-0c34-483b-b537-3e06f9b0c2f4","html_url":"https://github.com/rust-lang/libm","commit_stats":{"total_commits":358,"total_committers":55,"mean_commits":6.509090909090909,"dds":0.782122905027933,"last_synced_commit":"754daced79e320c6bc6d2a666a99a60a742c42c4"},"previous_names":[],"tags_count":48,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Flibm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Flibm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Flibm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Flibm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rust-lang","download_url":"https://codeload.github.com/rust-lang/libm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254047571,"owners_count":22005828,"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":[],"created_at":"2024-09-24T20:14:10.620Z","updated_at":"2025-05-15T04:06:04.741Z","avatar_url":"https://github.com/rust-lang.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# `libm`\n\nA port of [MUSL]'s libm to Rust.\n\n\u003e [!NOTE]  \n\u003e The `libm` crate has been merged into the `compiler-builtins` repository. Future\n\u003e development work will take place there: https://github.com/rust-lang/compiler-builtins.\n\n[MUSL]: https://musl.libc.org/\n\n## Goals\n\nThe short term goal of this library is to [enable math support (e.g. `sin`, `atan2`) for the\n`wasm32-unknown-unknown` target][wasm] (cf. [rust-lang/compiler-builtins][pr]). The longer\nterm goal is to enable [math support in the `core` crate][core].\n\n[wasm]: https://github.com/rust-lang/libm/milestone/1\n[pr]: https://github.com/rust-lang/compiler-builtins/pull/248\n[core]: https://github.com/rust-lang/libm/milestone/2\n\n## Already usable\n\nThis crate is [on crates.io] and can be used today in stable `#![no_std]` programs.\n\nThe API documentation can be found [here](https://docs.rs/libm).\n\n[on crates.io]: https://crates.io/crates/libm\n\n## Benchmark\n[benchmark]: #benchmark\n\nThe benchmarks are located in `crates/libm-bench` and require a nightly Rust toolchain.\nTo run all benchmarks:\n\n\u003e cargo +nightly bench --all\n\n## Contributing\n\nPlease check [CONTRIBUTING.md](CONTRIBUTING.md)\n\n## Minimum Rust version policy\n\nThis crate supports rustc 1.63 and newer.\n\n## License\n\nUsage is licensed under the MIT license ([LICENSE-MIT](LICENSE-MIT) or\nhttps://opensource.org/licenses/MIT).\n\n\n### Contribution\n\nContributions are licensed under both the MIT license and the Apache License,\nVersion 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or\nhttps://www.apache.org/licenses/LICENSE-2.0). Unless you explicitly state\notherwise, any contribution intentionally submitted for inclusion in the work\nby you, as defined in the Apache-2.0 license, shall be dual licensed as\nmentioned, without any additional terms or conditions.\n\nSee `LICENSE.txt` for full details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-lang%2Flibm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frust-lang%2Flibm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-lang%2Flibm/lists"}