commit | fb178dc9810805e1ba78f6bf2a9a67fa35a35982 | [log] [tgz] |
---|---|---|
author | Jeff Vander Stoep <jeffv@google.com> | Fri Dec 04 13:55:39 2020 +0100 |
committer | Jeff Vander Stoep <jeffv@google.com> | Fri Dec 04 13:55:39 2020 +0100 |
tree | 2c3aaa231ba28d4f2ee863192a37c30ad5806fd5 | |
parent | 8fde6a1760bb78e4ccb0433212c560e3fd891b56 [diff] |
libm crate v0.2.1 Bug: 155855709 Test: n/a Change-Id: I702f49dc44157fc8d8a3e00dfd47358f2b3fed0e
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.