Handbook
Glossary
bitor-integer-integer ( x y -- z )
Vocabulary
math
.
partial-dispatch
Inputs
x
an
object
y
an
object
Outputs
z
an
object
Definition
USING:
kernel
math
math.private
;
IN:
math.partial-dispatch
:
bitor-integer-integer
( x y -- z )
2dup
both-fixnums?
[
\
fixnum-bitor
execute
]
[
dup
fixnum?
[
fixnum>bignum
\
bignum-bitor
execute
]
[
over
fixnum?
[
[
fixnum>bignum
]
dip
\
bignum-bitor
execute
]
[
\
bignum-bitor
execute
]
if
]
if
]
if
;
foldable
flushable