Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed the modulo operator for negative integers
* this changes the behavior of vanilla modulo operator to use signed integer division to match how the fixed division operator works.
- Loading branch information
b8fe8cb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kinda forgot the modulo when we fixed the division operator in 4.2.3.
Test script code:
Results:
At least now they match the results from MSVC.