tag | 49f1730d748818320fa2b548b0a8688058eeaa5a | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Tue May 14 16:43:43 2024 -0700 |
object | 0f79605e0c6aaadcfc238f3293a4029a73fd9ca1 |
Android 14.0.0 release 42
commit | 0f79605e0c6aaadcfc238f3293a4029a73fd9ca1 | [log] [tgz] |
---|---|---|
author | Matthew Maurer <mmaurer@google.com> | Thu Mar 09 18:09:52 2023 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Mar 09 18:09:52 2023 +0000 |
tree | c5c1cf6bce4c26734a908bd85bbd89074eb1ccea | |
parent | 1e73ea06f43ca98e456d8bef955952ca44d97ce7 [diff] | |
parent | 9658dc441f531e7aee853a322ddc2f39f7b0e007 [diff] |
Make libm available to product and vendor am: 63608f3777 am: d54044f930 am: a9c6661054 am: 9658dc441f Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/libm/+/2476367 Change-Id: Ie450fe9a869fc16cfff4ec82d908f7407c8111bf 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.