Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check rational arithmetic for overflow (#8504)
* Check rational arithmetic for overflow Also refactor clocked calculations * Add comparison for rational with integer * Use floor to compare rational with integer The previous lessRatInt function could overflow
- Loading branch information
1 parent
9489298
commit 851ba5e
Showing
4 changed files
with
191 additions
and
148 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.