Added closing brace that got lost when applying fix for modulo procedure.
This commit is contained in:
@ -519,6 +519,7 @@ static num num_mod(num a, num b) {
|
|||||||
/* modulo should have same sign as second operand */
|
/* modulo should have same sign as second operand */
|
||||||
if (res * e2 < 0) {
|
if (res * e2 < 0) {
|
||||||
res+=e2;
|
res+=e2;
|
||||||
|
}
|
||||||
ret.value.ivalue=res;
|
ret.value.ivalue=res;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user