Handbook
Glossary
w+ ( x y -- z )
Factor handbook
»
The language
»
Numbers
»
Arithmetic
»
Bitwise arithmetic
»
Additional bitwise arithmetic
Prev:
bitroll-64 ( m s -- n )
Next:
w- ( x y -- z )
Vocabulary
math.bitwise
Inputs
x
an
integer
y
an
integer
Outputs
z
an
integer
Word description
Adds two integers and wraps the result to a 32-bit unsigned integer.
Examples
USING: math.bitwise kernel prettyprint ; 0xffffffff 0x2 w+ .
1
Definition
USING:
math
;
IN:
math.bitwise
:
w+
( x y -- z )
+
32
bits
;
inline