Handbook
Glossary
w- ( x y -- z )
Factor handbook
»
The language
»
Numbers
»
Arithmetic
»
Bitwise arithmetic
»
Additional bitwise arithmetic
Prev:
w+ ( x y -- z )
Next:
w* ( x y -- z )
Vocabulary
math.bitwise
Inputs
x
an
integer
y
an
integer
Outputs
z
an
integer
Word description
Subtracts two integers and wraps the result to a 32-bit unsigned integer.
Examples
USING: math.bitwise kernel prettyprint ; 0x0 0xff w- .
4294967041
Definition
USING:
math
;
IN:
math.bitwise
:
w-
( x y -- z )
-
32
bits
;
inline