double cell example: fix shift directions
FossilOrigin-Name: 09fc476ef1e3c4169d6bb43adb5e4a061f363a692ed2bbed75ad318eaa8e374e
This commit is contained in:
parent
fb38ef58f2
commit
2e81e348d5
1 changed files with 2 additions and 2 deletions
|
@ -49,8 +49,8 @@ small changes (see the `dn:div` in particular).
|
||||||
dn:new !~res
|
dn:new !~res
|
||||||
dup-pair dn:lows n:div @~res dn:l!
|
dup-pair dn:lows n:div @~res dn:l!
|
||||||
dup-pair
|
dup-pair
|
||||||
[ dn:h@ ] [ dn:l@ ] bi* n:div #1 shift-left
|
[ dn:h@ ] [ dn:l@ ] bi* n:div #-1 shift
|
||||||
[ [ dn:l@ ] [ dn:h@ ] bi* n:mod #31 shift-right ] dip n:add
|
[ [ dn:l@ ] [ dn:h@ ] bi* n:mod #31 shift ] dip n:add
|
||||||
@~res dn:h!
|
@~res dn:h!
|
||||||
@~res ;
|
@~res ;
|
||||||
~~~
|
~~~
|
||||||
|
|
Loading…
Reference in a new issue