Always false float comparisons
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Mon May 9 13:16:59 PDT 2016
On 5/9/2016 11:51 AM, tsbockman wrote:
> On Monday, 9 May 2016 at 18:37:10 UTC, Xinok wrote:
>> (4) While we're at it, let's also emit a warning when comparing signed and
>> unsigned types.
>
> (4) is already planned; it's just taking *a lot* longer than anticipated to
> actually implement it:
> https://issues.dlang.org/show_bug.cgi?id=259
> https://github.com/dlang/dmd/pull/1913
> https://github.com/dlang/dmd/pull/5229
I oppose this change. You'd be better off not having unsigned types at all than
this mess, which was Java's choice. But then there are more problems created.
More information about the Digitalmars-d
mailing list