Discussion Thread: DIP 1042--ProtoObject--Community Review Round 1

Elronnd elronnd at elronnd.net
Sat Jan 15 09:24:43 UTC 2022


On Saturday, 15 January 2022 at 06:20:03 UTC, Ola Fosheim Grøstad 
wrote:
>> Hm, we do have !(x > x+1) for floats...
>
> That is equivalent to x <= x+1 so that holds for numerical 
> floats

!(x > x+1) works for nan too, which is why I wrote it the way I 
did.  NB. I believe d used to have operators like !> specifically 
for this reason.


More information about the Digitalmars-d mailing list