eb6a8e6a3b
The modulo operation computed rem(b+rem(a,b), b) which produces -1 for a=1 and b=2. Switch to a - b * trunc(a/b) which produces the expected result, 1. closes #1137 |
||
---|---|---|
.. | ||
cases | ||
standalone | ||
assemble_and_link.zig | ||
behavior.zig | ||
build_examples.zig | ||
compare_output.zig | ||
compile_errors.zig | ||
gen_h.zig | ||
runtime_safety.zig | ||
tests.zig | ||
translate_c.zig |