You are a stupid programmer, you can't have that

Walter Bright newshound2 at digitalmars.com
Tue Aug 10 17:47:46 UTC 2021


On 8/9/2021 8:15 AM, bachmeier wrote:
> I did not study unsigned math in college.

There are no classes in unsigned math.

> I took one 
> programming class and I've done a lot of independent study. Maybe I could figure 
> out how to work with unsigned math, but why would I want to? I have better 
> things to do with my time.

It's worth spending 5 minutes to learn what 2's complement arithmetic is.

https://en.wikipedia.org/wiki/Two%27s_complement#:~:text=Two's%20complement%20is%20a%20mathematical,two's%20complement%20is%202N.


More information about the Digitalmars-d mailing list