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
xan integer
yan integer


Outputs
zan 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