Shortcomings of D-Style Fused Operator Overloading

Ahmet Sait nightmarex1337 at hotmail.com
Sat Jul 8 10:26:21 UTC 2023


On Saturday, 8 July 2023 at 08:32:00 UTC, Dom DiSc wrote:
> You're all aware that opCmp can return a float, with the values 
> 0,1,-1 and NaN?
> This can be used for intervals very good (returning NaN if the 
> intervals overlap, 0 if they are equal and 1 or -1 if they are 
> disjunct).

You're more than welcome to prove us wrong ;)


More information about the Digitalmars-d mailing list