You are a stupid programmer, you can't have that
H. S. Teoh
hsteoh at quickfur.ath.cx
Mon Aug 9 23:11:39 UTC 2021
On Mon, Aug 09, 2021 at 10:49:13PM +0000, claptrap via Digitalmars-d wrote:
[...]
> And whats probably not obvious is that you need unsigned arithmetic to
> do multiword signed arithmetic, you only use signed arithmetic for the
> top most word.
Exactly!! This is why unsigned arithmetic is more basic and fundamental
than signed arithmetic. The latter is built from the former, not the
former from the latter.
T
--
"You know, maybe we don't *need* enemies." "Yeah, best friends are about all I can take." -- Calvin & Hobbes
More information about the Digitalmars-d
mailing list