Displaying 1 result from an estimated 1 matches for "9563b3de".
2019 Jan 31
2
Behaviour of APInt
I'm having trouble understanding how APInts should be used.
The APInt documentation states that it 'is a functional replacement for common
case unsigned integer type', but I'm not seeing this because the internal logic
is that the value is always treated as negative if the most significant bit is
set.
I'm interested in an add or sub that could be using a negative value. I