File: README.md

package info (click to toggle)
rust-core-maths 0.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 116 kB
  • sloc: makefile: 4
file content (16 lines) | stat: -rw-r--r-- 393 bytes parent folder | download | duplicates (26)
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 -->