Handbook
Glossary
log10 ( x -- y )
Factor handbook
»
The language
»
Numbers
»
Mathematical functions
»
Powers and logarithms
Prev:
log1+ ( x -- y )
Next:
logn ( x n -- y )
Vocabulary
math
.
functions
Inputs
x
a
number
Outputs
y
a
number
Word description
Logarithm function base 10. Outputs negative infinity if
x
is 0.
Definition
IN:
math.functions
GENERIC:
log10
( x -- y )
foldable
flushable
Methods
USING:
math
math.functions
math.functions.private
;
M:
bignum
log10
[
log10
]
log10-2
(bignum-log)
;
USING:
math
math.functions
;
M:
complex
log10
log
10
log
/
;
inline
USING:
math
math.functions
math.libm
;
M:
real
log10
>float
flog10
;
inline