commit | 7197c2903bbc81a2791094cdcca5d3699de3e1c9 | [log] [tgz] |
---|---|---|
author | Matthew Maurer <[email protected]> | Tue May 31 15:54:44 2022 +0000 |
committer | Automerger Merge Worker <[email protected]> | Tue May 31 15:54:44 2022 +0000 |
tree | 309663c5abe8ce162e1777ebeea3005436c7d486 | |
parent | 473c56b36ea92a06b8071aaab83caf282a801650 [diff] | |
parent | 93de41388d621ae007c2cc5713e32195bf7b49f3 [diff] |
Update TEST_MAPPING am: 93de41388d Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/libm/+/2107521 Change-Id: Ic9030429e5646d73c29bcedaa8bbab43c4256de9 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.