#math #api-bindings #abs #target

no-std core_maths

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

3 unstable releases

Uses old Rust 2015

0.1.1 Feb 1, 2025
0.1.0 Sep 19, 2023
0.0.0 Sep 8, 2023

#200 in Rust patterns

Download history 48975/week @ 2024-12-17 24638/week @ 2024-12-24 34642/week @ 2024-12-31 58456/week @ 2025-01-07 66916/week @ 2025-01-14 63540/week @ 2025-01-21 64428/week @ 2025-01-28 83986/week @ 2025-02-04 76976/week @ 2025-02-11 81048/week @ 2025-02-18 78688/week @ 2025-02-25 72626/week @ 2025-03-04 82201/week @ 2025-03-11 90369/week @ 2025-03-18 86861/week @ 2025-03-25 69958/week @ 2025-04-01

342,783 downloads per month
Used in 230 crates (9 directly)

MIT license

33KB
412 lines

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

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

3.9.floor();

Dependencies

~390KB