summaryrefslogtreecommitdiffstats
path: root/third_party/rust/core_maths/README.md
blob: ac1b3f974d5d53f1324d3d6f046c1def2992967b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!-- cargo-rdme start -->

Extension trait for full float functionality in `#[no_std]` backed by [`libm`].

Method signatures, implementation, and documentation are copied from as `std` 1.72,
with calls to instrinsics replaced by their `libm` equivalents.

# Usage
```rust
#[allow(unused_imports)] // will be unused on std targets
use core_maths::*;

3.9.floor();
```

<!-- cargo-rdme end -->