mirror of
https://github.com/ziglang/zig.git
synced 2025-12-25 15:43:06 +00:00
According to the documentation, `divTrunc` is "Truncated division. Rounds toward zero". Lower it as a straightforward fdiv + trunc sequence to make it behave as expected with mixed positive/negative operands. Closes #10001