commit | 5a76427dc3318ab532a16aaccb7ef9e130810e83 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Sat Oct 21 03:13:25 2023 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Sat Oct 21 03:13:25 2023 +0000 |
tree | f8f58424db661a4c7ad7cefdadcd6feb862a000c | |
parent | 1be2922c8f7bf6f9a2f8a3671f4c40fb669c07e1 [diff] | |
parent | 6444a605eb25aa1334d0e6cf73cf66efaafd657f [diff] |
Snap for 10985011 from 6444a605eb25aa1334d0e6cf73cf66efaafd657f to 24D1-release Change-Id: I96ebb7e99ff273a1022f0579fd3947f4b9d721fb
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.