commit | fcea958918cfc48a29fcba0948c390dd5ffac0d9 | [log] [tgz] |
---|---|---|
author | Joel Galenson <jgalenson@google.com> | Tue Aug 24 18:48:24 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Aug 24 18:48:24 2021 +0000 |
tree | a735eb7299f0f913869ffb177e124057ffa9e775 | |
parent | d13c5afe1e2140f474e4f278e4a739b69410c621 [diff] | |
parent | 913bcd19e51c0d7c1c6cc6b8dd3a4c4e2b440c8d [diff] |
Update TEST_MAPPING am: 8272e4a814 am: 913bcd19e5 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/libm/+/1805915 Change-Id: I75bb1b402e32e99472fb417c18519d5192c00b28
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.