approxim

Crates.ioapproxim
lib.rsapproxim
version0.6.10
created_at2025-03-20 13:01:26.862091+00
updated_at2026-01-15 12:52:29.388833+00
descriptionApproximate floating point equality comparisons and assertions.
homepagehttps://github.com/jonaspleyer/approxim
repositoryhttps://github.com/jonaspleyer/approxim
max_upload_size
id1599188
size152,073
Jonas Pleyer (jonaspleyer)

documentation

https://docs.rs/approxim

README

approxim

Test Crate License Apache Docs Minimum rustc version Codecov

Approximate floating point equality comparisons and assertions for the Rust Programming Language.

This is a fork of the popular approx crate which extends the functionality of approx by implementing many of the PRs of the original crate. It also provides derive macros via approx-derive

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