commit | c947a38c43429b6d30587222eeed75c586dc769c | [log] [tgz] |
---|---|---|
author | Treehugger Robot <[email protected]> | Fri May 10 07:54:22 2024 +0000 |
committer | Automerger Merge Worker <[email protected]> | Fri May 10 07:54:22 2024 +0000 |
tree | 866651ac16934fbb9265f211a6429226ddefd26b | |
parent | 2eb71d4bddf9897dd44f03cd4725b42d1326bb00 [diff] | |
parent | 0968bafad67d0aadf74471ee3a3f66cfb82a33e4 [diff] |
Merge "Ensure crate is compiled with std for panic handler" into main am: 0968bafad6 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/libm/+/3080659 Change-Id: I937b5e2437aa808303f160a51b9194a2e7ac7d4a Signed-off-by: Automerger Merge Worker <[email protected]>
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.