math.integers.private vocabulary
Factor handbook > Vocabulary index


Summary
math.integers.private vocabulary

Words

Ordinary words
WordStack effect
(2/-with-epsilon)( epsilon? num -- epsilon?' num' )
(epsilon?)( num shift -- ? )
(shift-with-epsilon)( epsilon? num den scale -- epsilon?' num' den scale )
/f-abs( m n -- f )
bignum/f( m n -- f )
bignum/f-threshold( -- value )
bignum>float( bignum -- float )
fixnum-bit?( x n -- ? )
fixnum-log2( x -- n )
fixnum-max( x y -- z )
fixnum-min( x y -- z )
fixnum/f( m n -- m/n )
mantissa-and-guard( epsilon? num den scale -- epsilon?' mantissa-and-guard rem scale' )
post-scale( mantissa scale -- n )
pre-scale( num den -- epsilon? num' den' scale )
round-to-nearest( epsilon? mantissa-and-guard rem -- mantissa-and-guard' )
scale-denonimator( den -- scaled-den scale' )
scale-float( mantissa scale -- float' )
scale-numerator( num den -- epsilon? num' scale )
twos( x -- y )