commit | f3d5e7a128d29ff08991b67a660e6d5ff1ab0ee2 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Fri May 10 08:09:09 2024 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri May 10 08:09:09 2024 +0000 |
tree | 866651ac16934fbb9265f211a6429226ddefd26b | |
parent | 55852ecbfcdb5775948ca4ba698c1b0ab79cfaeb [diff] | |
parent | c947a38c43429b6d30587222eeed75c586dc769c [diff] |
Merge "Ensure crate is compiled with std for panic handler" into main am: 0968bafad6 am: c947a38c43 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/libm/+/3080659 Change-Id: I69fa95770b70416b23f91853856e0d5c99a59763 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.