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
Adds two integers and wraps the result to 64-bit unsigned integer.
Examples
USING: math.bitwise kernel prettyprint ; 0xffffffffffffffff 0x2 W+ .
1
Definition
USING:
math
;
IN:
math.bitwise
:
W+
( x y -- z )
+
64
bits
;
inline