forked from zeitgeistpm/zeitgeist
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix precision in tests, add docs & comments
There's no better way to calculate the diff in the test right now, but abs_diff is on its way (rust-lang/rust#89492). We've also added an API specification to bpow and bpow_approx, detailing numerical limits and precision
- Loading branch information
1 parent
67bd877
commit 98aafd9
Showing
4 changed files
with
41 additions
and
2 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,9 @@ | |
|
||
extern crate alloc; | ||
|
||
#[cfg(test)] | ||
#[macro_use] | ||
extern crate more_asserts; | ||
#[macro_use] | ||
mod utils; | ||
|
||
|