https://issues.dlang.org/show_bug.cgi?id=21151

--- Comment #6 from mw <[email protected]> ---
OK, let me write this in this way to show it's impact:

==================================
import std.algorithm;
import std.stdio;

void main() {
  long[] a = [-5000, 0];
  long   c = sum(a) / a.length;
  writeln(c);
}
==================================


$ ./divbug
9223372036854773308

--

Reply via email to