Always false float comparisons
Steven Schveighoffer via Digitalmars-d
digitalmars-d at puremagic.com
Thu May 12 06:03:58 PDT 2016
On 5/12/16 3:32 AM, Walter Bright wrote:
> On 5/11/2016 2:24 AM, Manu via Digitalmars-d wrote:
>> What is the problem with this behaviour I suggest?
>
> Code will do one thing in C, and the same code will do something
> unexpectedly different in D.
Not taking one side or another on this, but due to D doing everything
with reals, this is already the case.
-Steve
More information about the Digitalmars-d
mailing list