mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +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
446 lines
14 KiB
446 lines
14 KiB