-
Notifications
You must be signed in to change notification settings - Fork 878
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clarify
util.string.formula_double_format
return type, fix using `i…
…nt` to round to nearest int (#4163) * add types * tweak formula_double_format implementation * test edge case * tweak docstring * fix round bug * use structure for now * tweak type and docstring * I believe the new formula is correct * avoid overwriting func name * clean up test * annotate matrix * use math.isclose * explicit rel_tol 0
- Loading branch information
1 parent
d302920
commit 3ff3d53
Showing
3 changed files
with
116 additions
and
77 deletions.
There are no files selected for viewing
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
Oops, something went wrong.