commit | f6a49b2fc624140adcb49cc5f9a487c78649a2e5 | [log] [tgz] |
---|---|---|
author | Jeff Vander Stoep <jeffv@google.com> | Fri Feb 02 10:10:57 2024 +0100 |
committer | Jeff Vander Stoep <jeffv@google.com> | Fri Feb 02 10:10:58 2024 +0100 |
tree | e5c8b61ed966e0b86b61046a75d0e538d4d456d2 | |
parent | 6ff6095ea8772fab6ca2550d84bdd04f96ddaedf [diff] |
Upgrade libm to 0.2.8 This project was upgraded with external_updater. Usage: tools/external_updater/updater.sh update external/rust/crates/libm For more info, check https://cs.android.com/android/platform/superproject/+/main:tools/external_updater/README.md Test: TreeHugger Change-Id: Ic6b0c796cd48d10e02e5908a7dfef6b41ccc5fb4
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.