On 8/11/2012 11:54 AM, Thiez wrote:
A few extra instructions (a CMOV followed by ADD should suffice, yes?) seems like a small price to pay if it can prevent bugs. Why hasn't the Python-modulo been made the default back when D was designed? The ever-so-slightly more efficient C-modulo could be provided in a library. Of course it's way too late to change it now...
Because then C code translated to D will have subtle, silent and unexpected bugs.
