commit | 278686ac9d4bc34a4b358bbd7fee33899471c1ca | [log] [tgz] |
---|---|---|
author | Joel Galenson <jgalenson@google.com> | Sun May 16 20:52:16 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Sun May 16 20:52:16 2021 +0000 |
tree | 936efc6c35aad8c3b35463bca23ef4bc2601647a | |
parent | 359235a6bf1a613996bf8fc35edf7406837eb637 [diff] | |
parent | 5b6a9babe8ad97b995760ea3edf1be35d7884304 [diff] |
Generate apex_available from c2a instead of a patch am: a2646fa4e4 am: b89935efef am: 07d2c381c9 am: d13c5afe1e am: 5b6a9babe8 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/libm/+/1688571 Change-Id: I5da6c704245d3c88bd12df04a4020819400a738a
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.