(integer-log10) ( x -- n ) - Factor Documentation

(integer-log10) ( x -- n )


Vocabulary
math .functions .private

Inputs
x an object


Outputs
n an object


Definition
IN: math.functions.private

GENERIC: (integer-log10) ( x -- n ) foldable flushable


Methods
USING: math math.functions.private ;

M: bignum (integer-log10) bignum-integer-log10 ; inline


USING: kernel.private math math.functions.private ;

M: fixnum (integer-log10)
fixnum-integer-log10 { fixnum } declare ; inline


USING: math math.functions.private ;

M: ratio (integer-log10)
[ (integer-log10) ] 10 (ratio-integer-log) ;

AltStyle によって変換されたページ (->オリジナル) /