approxim
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
[]
= { = "approxim", = "CURRENT_VERSION" }
Note that no further changes are required. Derive macros should also work with this workaround.