commit | 681b3e02fb24de9561e217e200e928728fb5aac5 | [log] [tgz] |
---|---|---|
author | Android Build Role Account android-build-prod <android-build-team-robot@google.com> | Sat May 15 10:03:59 2021 +0000 |
committer | Android Build Role Account android-build-prod <android-build-team-robot@google.com> | Sat May 15 10:03:59 2021 +0000 |
tree | 936efc6c35aad8c3b35463bca23ef4bc2601647a | |
parent | 2351911d7fbd1110603c6dbf71aa1f00d61e2fc4 [diff] | |
parent | b0e166dde6a47423a6c249557670907b9152a1ad [diff] |
Snap for 7364285 from b0e166dde6a47423a6c249557670907b9152a1ad to s-keystone-qcom-release Change-Id: Ie024452509c6fcb2cb08706ed77428bc397916fc
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.