commit | 6a2f97b013856eb59c35beff1681d7098c001a01 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Thu Aug 08 01:12:54 2024 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Thu Aug 08 01:12:54 2024 +0000 |
tree | 89a686e602b08e91ff215ac17835acb7427f8f66 | |
parent | 2f37dd940d5bc58c5663d1c0a6e8467f0e5c13b1 [diff] | |
parent | 877e7249895c1458825c639f51d9eaf860ae9866 [diff] |
Snap for 12199973 from 877e7249895c1458825c639f51d9eaf860ae9866 to 24Q4-release Change-Id: Iec0d9601e4f9520b2bed2ee583a5fba298ab08cb
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.