Modules§
- approx_
eq - 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§
- assert_
approx_ eq - Epsilon takes a default value of 1e-6. It is also possible to specify the error level to use.
Functions§
- rel_
diff - Function to find the relative difference between two values.