August 13, 2020 FYI, LDC has this div bug too on x86_64 GNU/Linux | ||||
---|---|---|---|---|
| ||||
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 Re: FYI, LDC has this div bug too on x86_64 GNU/Linux | ||||
---|---|---|---|---|
| ||||
Posted in reply to mw | 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
|
Copyright © 1999-2021 by the D Language Foundation