commit | 2f37dd940d5bc58c5663d1c0a6e8467f0e5c13b1 | [log] [tgz] |
---|---|---|
author | James Farrell <jamesfarrell@google.com> | Tue May 21 15:04:24 2024 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue May 21 15:04:24 2024 +0000 |
tree | 6a7064377ca7e4c8ee432740246cd88cc03e0a8e | |
parent | f3d5e7a128d29ff08991b67a660e6d5ff1ab0ee2 [diff] | |
parent | 487a3356ace6e7db78f18315105ec13f7d7224c2 [diff] |
Update Android.bp by running cargo_embargo am: 7c4bec5477 am: 487a3356ac Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/libm/+/3095567 Change-Id: Ib2a87305ed03b474fdd726f9f88ca9322845db73 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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.