What the hell is wrong with D?

Steven Schveighoffer schveiguy at yahoo.com
Tue Sep 19 19:54:02 UTC 2017


On 9/19/17 1:40 PM, EntangledQuanta wrote:

> The first returns x + w/2 and the second returns w/2!

Did you mean (x + w) / 2 or x + (w / 2)? Stop being ambiguous!

-Steve


More information about the Digitalmars-d-learn mailing list