Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix modulo operation for longlong operands.
Modulo is a weird operator, and there are actually two different macros: one for Byte and Unsigned, and one for all other datatypes. The code that decides between the two was missing the "Q" identifier for longlong datatypes, so it was returning garbage. Added one test to check for this.
- Loading branch information
Showing
2 changed files
with
4 additions
and
4 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