commit | 0921a6747cee20384f6ef78736b1d17d5ebc7e08 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Sun Feb 21 00:05:59 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Sun Feb 21 00:05:59 2021 +0000 |
tree | 391b25b9268c4e9c42bc450098be763ccb7a72da | |
parent | ad9665c355952949204a3434a4e9d35324500428 [diff] | |
parent | 2670b074bfc627dfd3b452da2207052778ddcd88 [diff] |
Snap for 7160059 from 2670b074bfc627dfd3b452da2207052778ddcd88 to sc-release Change-Id: Idd07cbe8e1392af0e27b0353e14aec6300ee7fc0
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.