August 13, 2020
div bug: long -5000 / size_t 2 = 9223372036854773308

https://forum.dlang.org/thread/rdrqedmbknwrppbfixll@forum.dlang.org

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


August 13, 2020
On 13 Aug 2020, at 8:40, mw via digitalmars-d-ldc wrote:
> div bug: long -5000 / size_t 2 = 9223372036854773308
>
> https://forum.dlang.org/thread/rdrqedmbknwrppbfixll@forum.dlang.org

Just FYI, the place to discuss language issues like this the main D forum – LDC will always match DMD and the language specification. (The situation would be different if it was a problem in back-end code generation, but in this case, things are working "as intended" in terms of the compiler codegen.)

  — David