commit | 3c8397f797e22aff0b94aaec14b4abaf655cf10f | [log] [tgz] |
---|---|---|
author | James Farrell <[email protected]> | Wed Aug 07 10:50:44 2024 +0000 |
committer | Automerger Merge Worker <[email protected]> | Wed Aug 07 10:50:44 2024 +0000 |
tree | 89a686e602b08e91ff215ac17835acb7427f8f66 | |
parent | 2f37dd940d5bc58c5663d1c0a6e8467f0e5c13b1 [diff] | |
parent | 8dc7e2af22294c3b3b54ca3e6a9d4c66622a3740 [diff] |
Update Android.bp by running cargo_embargo am: 8dc7e2af22 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/libm/+/3208977 Change-Id: I9aab59059276533e61637023153b90a2118077f8 Signed-off-by: Automerger Merge Worker <[email protected]>
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.