commit | 672752a0dd9da157f28e1ebbfd5123623075522c | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Sat Feb 20 15:17:10 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Sat Feb 20 15:17:10 2021 +0000 |
tree | 391b25b9268c4e9c42bc450098be763ccb7a72da | |
parent | 338a1eeace649427e32fd7c93e2c34319717800a [diff] | |
parent | 2670b074bfc627dfd3b452da2207052778ddcd88 [diff] |
[automerger skipped] Mark ab/7061308 as merged in stage. am: f189534a6c -s ours am: 776e49442c -s ours am: 2670b074bf -s ours am skip reason: Change-Id I81c0552266b7df75142fe6e393706e8b37a468f0 with SHA-1 a92bea40f6 is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ife6b200c578098747cadc50d10ae322d530e7beb
libm
A port of MUSL's libm to Rust.
The short term goal of this library is to enable math support (e.g. sin
, atan2
) for the wasm32-unknown-unknown
target (cf. rust-lang/compiler-builtins). The longer term goal is to enable math support in the core
crate.
This crate is on crates.io and can be used today in stable #![no_std]
programs.
The API documentation can be found here.
The benchmarks are located in crates/libm-bench
and require a nightly Rust toolchain. To run all benchmarks:
cargo +nightly bench --all
Please check CONTRIBUTING.md
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.