-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed16 comparisons operators (#570)
Updates to the Fixed16 class: - adds comparison operators between Fixed16 values. - removes implicit conversion to int. This caused confusing behavior as many operations were executed by the compiler on ints instead of Fixed16's. - Adds some comments. === * Add unit test to fixed16. * Adds comparison operators to Fixed16. Removes the implicit int16 conversion because it makes C++ believe weird. Co-authored-by: Stuart Baker <[email protected]>
- Loading branch information
1 parent
43bfc88
commit 1222411
Showing
2 changed files
with
170 additions
and
17 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