Handbook
Glossary
bignum-integer-log10-guess ( n -- guess 10^guess )
Vocabulary
math
.
functions
.
private
Inputs
n
an
object
Outputs
guess
an
object
10^guess
an
object
Definition
USING:
kernel
math
math.functions
math.private
;
IN:
math.functions.private
:
bignum-integer-log10-guess
( n -- guess 10^guess )
(log2)
>integer
log10-2
*
>integer
dup
10^
;