digitalmars.D.ldc - FYI, LDC has this div bug too on x86_64 GNU/Linux
- mw (3/3) Aug 13 2020 div bug: long -5000 / size_t 2 = 9223372036854773308
- David Nadlinger (7/9) Aug 13 2020 Just FYI, the place to discuss language issues like this the main D
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
Aug 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.orgJust 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
Aug 13 2020