Sunbeam Studios

Our open-source projects, here for you!

libm (0.2.16)

Published 2026-03-26 11:00:09 +00:00 by siennathesane

Installation

[registry]
default = "gitea"

[registries.gitea]
index = "sparse+" # Sparse index
# index = "" # Git

[net]
git-fetch-with-cli = true
cargo add libm@0.2.16

About this package

libm in pure Rust

libm

A Rust implementations of the C math library.

Usage

libm provides fallback implementations for Rust's float math functions in core, and the core_float_math feature. If what is available suits your needs, there is no need to add libm as a dependency.

If more functionality is needed, this crate can also be used directly:

[dependencies]
libm = "0.2.11"

Contributing

Please check CONTRIBUTING.md

Minimum Rust version policy

This crate supports rustc 1.63 and newer.

License

Usage is under the MIT license, available at https://opensource.org/license/mit.

Contribution

Contributions are licensed under both the MIT license and the Apache License, Version 2.0, available at https://www.apache.org/licenses/LICENSE-2.0. 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 mentioned, without any additional terms or conditions.

See LICENSE.txt for full details.

Dependencies

ID Version
no-panic ^0.1.35

Keywords

libm math
Details
Cargo
2026-03-26 11:00:09 +00:00
0
Alex Crichton <alex@alexcrichton.com>
Amanieu d'Antras <amanieu@gmail.com>
Jorge Aparicio <japaricious@gmail.com>
Trevor Gross <tg@trevorgross.com>
MIT
160 KiB
Assets (1)
Versions (1) View all
0.2.16 2026-03-26