[QUESTION] Usage of negative number notations on unsigned numbers.

Karthik B K karthik.bk at incoresemi.com
Mon Nov 27 04:55:30 PST 2023


On 27/11/23 17:39, Andreas Schwab wrote:
> On Nov 27 2023, Karthik B K wrote:
>
>> This is with the assumption that the encoding for -1 == 2^32-1.
> No, the representation has nothing to do with that.  It's a value
> conversion.

What's the encoding of (2^32-1)UL and (2^64-1)UL ?


karthik.




More information about the opensbi mailing list