Handbook
Glossary
(integer-log2) ( x -- n )
Vocabulary
math
.
functions
.
private
Inputs
x
an
object
Outputs
n
an
object
Definition
IN:
math.functions.private
GENERIC:
(integer-log2)
( x -- n )
foldable
flushable
Methods
USING:
math
math.functions.private
math.private
;
M:
integer
(integer-log2)
(log2)
;
inline
USING:
math
math.functions.private
;
M:
ratio
(integer-log2)
[
(integer-log2)
]
2
(ratio-integer-log)
;