commit | 991f140678b37483725b600c753aecf8508adc6e | [log] [tgz] |
---|---|---|
author | Julien Desprez <jdesprez@google.com> | Thu Feb 11 06:54:26 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Feb 11 06:54:26 2021 +0000 |
tree | 21a7717b9455ec906a9da9cc370b68d001024798 | |
parent | 1edc536b9220dc0c0aa9d6e7b41f2b3acec971de [diff] | |
parent | 3fd128878fe534635c37a2edab95d3a7bdc0877b [diff] |
Clean up rust_test_host TEST_MAPPING after default update am: ea1d6a34c9 am: 7269f97f09 am: 3fd128878f Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/libm/+/1584344 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I79cec1eb887057864385d7d22d2ac25102908b97
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.