-
-
Notifications
You must be signed in to change notification settings - Fork 399
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added approx_eq! macro for expm1 tests. (#665)
* Added approx_eq! macro for expm1 tests. Added approx_eq! macro for expm1 tests due to floating point arithmetic inaccuracies, using default ULP & epsilon values. approx_eq! macro does not work for NaN values, however, for tests this should be okay anyway! Solves #664. * Modified Cargo.toml to remove unneeded feature. Removed std feature as was unused in test. * Moves `float-cmp` to Dev Dependencies Refactors tan() unit test, previously unused, to use approx_eq!() macro for assertion to pass on CI. * Fixes cargo fmt errors
- Loading branch information
Showing
3 changed files
with
46 additions
and
17 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters