Convert an unsigned integer into it's two's compliment signed equivalent, e.g. 0b11111111111111111111111111111110 is 4294967294 as an unsigned integer or -2 as a signed integer.
0b11111111111111111111111111111110
4294967294
-2
For the reverse, see int32SignedToUnsigned.
the number to convert
Generated using TypeDoc
Convert an unsigned integer into it's two's compliment signed equivalent, e.g.
0b11111111111111111111111111111110
is4294967294
as an unsigned integer or-2
as a signed integer.For the reverse, see int32SignedToUnsigned.