tag | f529b930a56210851f291c370f449cb69d6498af | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Fri Jan 14 10:40:33 2022 -0800 |
object | d13c5afe1e2140f474e4f278e4a739b69410c621 |
Android 12.0.0 release 27
commit | d13c5afe1e2140f474e4f278e4a739b69410c621 | [log] [tgz] |
---|---|---|
author | Joel Galenson <jgalenson@google.com> | Wed Apr 28 22:10:46 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Apr 28 22:10:46 2021 +0000 |
tree | 936efc6c35aad8c3b35463bca23ef4bc2601647a | |
parent | 2670b074bfc627dfd3b452da2207052778ddcd88 [diff] | |
parent | 07d2c381c9815b3888a68a0aed4d991f160da29e [diff] |
Generate apex_available from c2a instead of a patch am: a2646fa4e4 am: b89935efef am: 07d2c381c9 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/libm/+/1688571 Change-Id: Ibe4e8ee2ba9c10eb44ec76fd2b6b6a544f58b5e3
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.