commit | 53c7f35daf91685b30f7b9d6609f1263277d99ec | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Thu Mar 24 18:08:47 2022 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Thu Mar 24 18:08:47 2022 +0000 |
tree | e9112ccc69532822871b7fd658743d57d914dcbb | |
parent | 9c1e46220ca4ac9de423a1a0d0a1bede0d3ce38d [diff] | |
parent | 7e6387d1f117d0ffebef0ac9c48eaf21ae751040 [diff] |
Snap for 8349661 from 7e6387d1f117d0ffebef0ac9c48eaf21ae751040 to mainline-go-art-release Change-Id: Ieb328de91962764cc00bfb16436408a7e8004eb1
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.