[regression] inconsistent signed int mod
operator between runtime, compiletime, and semfold
#12332
Labels
mod
operator between runtime, compiletime, and semfold
#12332
With the introduction of Int128 inside Nim compiler, it also introduce this regression.
Example
Current Output
Expected Output
Possible Solution
The Int128
mod
operator assigns wrong sign to the remainder based on divisor sign and not based on dividend sign.Additional Information
The text was updated successfully, but these errors were encountered: