Vocabularymath.
bitwiseInputsOutputsExamplesUSING: math.bitwise prettyprint ;
0xff 8 >signed .
-1
USING: math.bitwise prettyprint ;
0xf0 4 >signed .
0
Word descriptionInterprets a number
x as an
n-bit number and converts it to a negative number if the topmost bit is set.
See alsobitsDefinition