commit | e21e61b77823df67af87725eae51d56f280e259f | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Sat May 15 03:06:18 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Sat May 15 03:06:18 2021 +0000 |
tree | 936efc6c35aad8c3b35463bca23ef4bc2601647a | |
parent | 6a1341e583c930bf55acc8bde9980fdf47d6ab32 [diff] | |
parent | 5b6a9babe8ad97b995760ea3edf1be35d7884304 [diff] |
Snap for 7362794 from 5b6a9babe8ad97b995760ea3edf1be35d7884304 to sc-v2-release Change-Id: I2faec3884c19aec5c5bfa2095a7511f38f020766
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.