approxim

Crates.ioapproxim
lib.rsapproxim
version0.6.6
created_at2025-03-20 13:01:26.862091+00
updated_at2025-05-05 12:47:46.122323+00
descriptionApproximate floating point equality comparisons and assertions.
homepagehttps://github.com/jonaspleyer/approxim
repositoryhttps://github.com/jonaspleyer/approxim
max_upload_size
id1599188
size142,979
Jonas Pleyer (jonaspleyer)

documentation

https://docs.rs/approxim

README

approxim

Test Crate License Apache Docs Minimum rustc version Codecov

This is a fork of the popular approx crate. Approximate floating point equality comparisons and assertions for the Rust Programming Language.

Replace approx

To act as a drop-in replacement for approx, one can use the renaming option provided by cargo.

# Cargo.toml
[dependencies]
approx = { package = "approxim", version = "CURRENT_VERSION" }

Note that no further changes are required. Derive macros should also work with this workaround.

Commit count: 181

cargo fmt