Handbook
Glossary
toggle-bit ( ? n x -- y )
Vocabulary
bit-arrays
.
private
Inputs
?
an
object
n
an
object
x
an
object
Outputs
y
an
object
Definition
USING:
kernel
math.bitwise
;
IN:
bit-arrays.private
::
toggle-bit
( ? n x -- y )
x n ?
[
set-bit
]
[
clear-bit
]
if
;
inline