commit | e55445555bbc0101282ea88ab8ea627b0ae513bd | [log] [tgz] |
---|---|---|
author | Android Build Role Account android-build-prod <android-build-team-robot@google.com> | Mon Jan 25 11:05:16 2021 +0000 |
committer | Android Build Role Account android-build-prod <android-build-team-robot@google.com> | Mon Jan 25 11:05:16 2021 +0000 |
tree | 3db638ff2d9e4b6bb01c299ef697b4b668843413 | |
parent | 8fde6a1760bb78e4ccb0433212c560e3fd891b56 [diff] | |
parent | 0227d19fcd179e9d213905e02584bcfe49893267 [diff] |
Snap for 7100411 from 0227d19fcd179e9d213905e02584bcfe49893267 to s-keystone-qcom-release Change-Id: I4325e107b46f25e4e9682ad72470704626f9746b
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.