Oh Dear

Walter Bright newshound1 at digitalmars.com
Sun Jul 12 15:14:53 PDT 2009


Michiel Helvensteijn wrote:
> Walter Bright wrote:
> 
>> I'd like to emphasize that the code generator has been in
>> use for 25 years for several hundred thousand users, and it is
>> incredibly unlikely that nobody would notice if it is getting basic
>> integer arithmetic wrong.
> 
> I didn't think the compiler would be wrong. I was just replying to your
> statement that D does what x86 DIV does (you didn't mention IDIV; hence my
> initial confusion).

No problem, my mistake.


>> If you'd like to write up a formal definition 
>> that can be inserted into the D specification, that would be great.
> 
> I've given an unambiguous description of D division and modulus in another
> subthread here. I've also updated issue 3165 with the information. You can
> use that.

Thank you, this is valuable. I appreciate it.



More information about the Digitalmars-d mailing list