commit | 1bb9f6dacbcc30d0da02ed6f39f6dfa14b2d49d3 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Fri Apr 30 01:05:41 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Fri Apr 30 01:05:41 2021 +0000 |
tree | 936efc6c35aad8c3b35463bca23ef4bc2601647a | |
parent | f460cdab5c40ed21173f614a78a25e0e01762165 [diff] | |
parent | d13c5afe1e2140f474e4f278e4a739b69410c621 [diff] |
Snap for 7325096 from d13c5afe1e2140f474e4f278e4a739b69410c621 to sc-d1-release Change-Id: I9c9fc6b2802f95a71cae30f59d3dbc2072d1b50c
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.