commit | 6444a605eb25aa1334d0e6cf73cf66efaafd657f | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Thu Oct 19 20:17:58 2023 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Oct 19 20:17:58 2023 +0000 |
tree | f8f58424db661a4c7ad7cefdadcd6feb862a000c | |
parent | 7b6e9d6d95831cba3700dac93111f35a2e8a1963 [diff] | |
parent | 2837846805df22d316e5e9d346a9efbd6a17f6b6 [diff] |
Migrate to cargo_embargo. am: fea7a2a378 am: 9cf7ff25b8 am: 2837846805 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/libm/+/2796294 Change-Id: I09148fde73c0bc6137d4b6e8215275c578956d9c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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.