Handbook
Glossary
unary-op-class ( info -- newclass )
Vocabulary
compiler
.
tree
.
propagation
.
known-words
Inputs
info
a
value-info-state
Outputs
newclass
a
class
Word description
Returns the smallest math class large enough to hold values of the value infos class.
See also
binary-op-class
Definition
USING:
accessors
compiler.tree.propagation.info
kernel
;
IN:
compiler.tree.propagation.known-words
:
unary-op-class
( info -- newclass )
class>>
dup
null-class?
[
drop
null
]
[
math-closure
]
if
;