Parents: | project-euler.064 |
Class | Superclass | Slots |
cfrac | tuple | n a b |
cont-frac | tuple | whole num-const denom |
Word | Stack 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 ) |
Word | Stack effect |
cfrac? | ( object -- ? ) |
cont-frac? | ( object -- ? ) |