commit | ad9665c355952949204a3434a4e9d35324500428 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Thu Feb 18 02:05:14 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Thu Feb 18 02:05:14 2021 +0000 |
tree | 391b25b9268c4e9c42bc450098be763ccb7a72da | |
parent | a50e9f1f624a9778f54555c86e5df7ddacc3de63 [diff] | |
parent | 3c3a1fe22f074d7db4744b60336c29facefed85c [diff] |
Snap for 7152399 from 3c3a1fe22f074d7db4744b60336c29facefed85c to sc-release Change-Id: I221054ae9ff49a6eb1a535af8b7af011e95222e5
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.