project-euler.064.private vocabulary
Factor handbook ยป Vocabulary index


Summary

Metadata
Parents:project-euler.064


Words

Tuple classes
ClassSuperclassSlots
cfrac tuplen a b
cont-frac tuplewhole num-const denom


Ordinary words
WordStack effect
<cfrac>( n a b -- cfrac )
<cont-frac>( whole num-const denom -- cont-frac )
>cfrac<( fr -- n a b )
create-cont-frac( n -- n cont-frac )
deep-copy( cont-frac -- cont-frac cont-frac )
find-period( n -- period )
loop( c l n cf -- c l n cf )
next( fr -- fr' )
period( n -- period )
pure( n -- fr )
reciprocal( fr -- fr' )
split( fr -- k fr' )
step( n cont-frac -- n cont-frac )
try-all( -- n )


Class predicate words
WordStack effect
cfrac?( object -- ? )
cont-frac?( object -- ? )


Files