commit | 18dfe82e075354faf4d4d502faf2fc475093f3be | [log] [tgz] |
---|---|---|
author | Treehugger Robot <[email protected]> | Mon Dec 12 21:16:21 2022 +0000 |
committer | Automerger Merge Worker <[email protected]> | Mon Dec 12 21:16:21 2022 +0000 |
tree | 15dab9689d42b9d952f89aae566e8cd44a12a121 | |
parent | 431b0540b354aaa281f60fd0889bc459022b96e0 [diff] | |
parent | a7105db11f3cee8168b7a37b64e14bdbcdb26d9a [diff] |
Merge "Upgrade libm to 0.2.6" am: 273183cd72 am: a7105db11f Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/libm/+/2345043 Change-Id: I60949cd5228e85c87ba0ff37e9d79893e6f7c985 Signed-off-by: Automerger Merge Worker <[email protected]>
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.