Crate approx_eq

Source

Modules§

  • Macro to test that two values are approximately equal. It checks that the relative difference between the two values is less than some epsilon value.

Macros§

  • Epsilon takes a default value of 1e-6. It is also possible to specify the error level to use.

Functions§

  • Function to find the relative difference between two values.