commit | d003561f7d06483e1437b464b4d015d0c09cc163 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Thu Aug 08 01:14:36 2024 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Thu Aug 08 01:14:36 2024 +0000 |
tree | 89a686e602b08e91ff215ac17835acb7427f8f66 | |
parent | 9d94f7d7f27b738fc21cbd47e2f9572748e671c9 [diff] | |
parent | 877e7249895c1458825c639f51d9eaf860ae9866 [diff] |
Snap for 12199801 from 877e7249895c1458825c639f51d9eaf860ae9866 to 25D4-release Change-Id: I27d8cd5341a99deca11a46befaa6dbb472d000d2
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.