Crates.io | libm |
lib.rs | libm |
version | 0.2.15 |
created_at | 2018-07-14 00:41:38.320191+00 |
updated_at | 2025-05-06 23:40:04.881418+00 |
description | libm in pure Rust |
homepage | |
repository | https://github.com/rust-lang/compiler-builtins |
max_upload_size | |
id | 74142 |
size | 634,079 |
libm
A Rust implementations of the C math library.
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"
Please check CONTRIBUTING.md
This crate supports rustc 1.63 and newer.
Usage is under the MIT license, available at https://opensource.org/license/mit.
Contributions are licensed under both the MIT license and the Apache License, Version 2.0, available at htps://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.