I'm confused.
What is the point of an _UNSIGNED variable if operations recognize the leftmost bit as a sign?
shrthat means unsigned shift right without matter of a sign bit.
sar
@SMcNeill
the function you posted is for signed integers, it's not what eric needs
I propose that the functions _SHL and _SHR also take Bitcoin, with
_SHL doubling the money, and _SHR generating a GPF, or causing Cuba
to sink, whichever is easier.
O-tay, so it's a minor limitation, not a bug.