commit | bf2f4baf8e67af867cf5d5684604072b6fb36745 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Fri Mar 10 05:16:11 2023 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Fri Mar 10 05:16:11 2023 +0000 |
tree | c5c1cf6bce4c26734a908bd85bbd89074eb1ccea | |
parent | f255cb14378ab11edd66bd30a020cfb49a45e999 [diff] | |
parent | 0f79605e0c6aaadcfc238f3293a4029a73fd9ca1 [diff] |
Snap for 9722771 from 0f79605e0c6aaadcfc238f3293a4029a73fd9ca1 to udc-d1-release Change-Id: Icb86a5a62166097771c93b70f6b976427f62e5ae
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.