[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: some snippets from make381
From: |
Markus Mauhart |
Subject: |
Re: some snippets from make381 |
Date: |
Thu, 10 Mar 2005 16:44:18 +0100 |
"Markus Mauhart" wrote ...
>
> yes, but 'result' is used not only for ISTRING_COMPARE, but for every
> substraction seen in this function:
>
> result = x->ctime - y->ctime;
> result = x->ino[0] - y->ino[0];
> result = x->dev - y->dev;
>
> Currently I cant swear where to expect value truncation, but IIRC it
> happens 100% in theory and regulary in 64bit-practice.
"truncation" means ...
int result = 0xb12345678
- 0xa12345678 ;//in theory undefined, but typically truncation.
return result ;//zero instead of non-zero.