commit | c5ce2b6b9a118f8143811336e5334f3f981c6a9c | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Tue May 21 23:13:41 2024 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Tue May 21 23:13:41 2024 +0000 |
tree | 6a7064377ca7e4c8ee432740246cd88cc03e0a8e | |
parent | 1c647d1513b21d13470b8ad39dac2d375fd80e0b [diff] | |
parent | 2f37dd940d5bc58c5663d1c0a6e8467f0e5c13b1 [diff] |
Snap for 11869550 from 2f37dd940d5bc58c5663d1c0a6e8467f0e5c13b1 to 24Q3-release Change-Id: Id9fe4ad7d40d1a0bdbe7d377ee115ddf473b0ea4
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.