-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix test wrt. deprecation of float to int conversions
Instead of passing `1073746742.75` to an int parameter, we just do the calculation upfront (and round up), since the actual calculation does not matter here anyway.
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
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
even if "the actual calculation does not matter here anyway", "do the calculation upfront" should have given
0x3fffffff
(or0x40000000
if "round up")