commit | ecbf341f02dd2b2edd9d7e87c747c96997be45b9 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Mon Dec 20 11:04:43 2021 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Mon Dec 20 11:04:43 2021 +0000 |
tree | 936efc6c35aad8c3b35463bca23ef4bc2601647a | |
parent | 681b3e02fb24de9561e217e200e928728fb5aac5 [diff] | |
parent | 2da0d41659829a5f5c3f846e107d781d48088b88 [diff] |
Snap for 8014993 from 2da0d41659829a5f5c3f846e107d781d48088b88 to s-keystone-qcom-release Change-Id: Ibddb70c1eb27ff493fb5f754b93587fd1bb11404
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.