commit | 76cd8448f57b26e28d2a387a0a6cf7f66a04f6e0 | [log] [tgz] |
---|---|---|
author | Joel Galenson <[email protected]> | Wed Dec 15 16:02:40 2021 +0000 |
committer | Automerger Merge Worker <[email protected]> | Wed Dec 15 16:02:40 2021 +0000 |
tree | e9112ccc69532822871b7fd658743d57d914dcbb | |
parent | d961497afdc027cfe10ba8360185d71fc1373927 [diff] | |
parent | f179e1ccbef4055ed6ab3adc4976fa876db3615f [diff] |
Merge "Refresh Android.bp, cargo2android.json, TEST_MAPPING." am: f179e1ccbe Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/libm/+/1912438 Change-Id: Ia8b0ce11544f51a033a735a00aea878aed18712a
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.