]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/compiler/tree/modular-arithmetic/modular-arithmetic-tests.factor
Fixing various test failures and updating some more vocabs for >r/r> removal
[factor.git] / basis / compiler / tree / modular-arithmetic / modular-arithmetic-tests.factor
index 31c50587cf307cdbb1816178faba5346104e4a7b..5d6a9cdea1661206c285515a78ef8602fd0d9c0a 100644 (file)
@@ -8,13 +8,13 @@ compiler.tree.debugger ;
 : test-modular-arithmetic ( quot -- quot' )
     build-tree optimize-tree nodes>quot ;
 
-[ [ [ >fixnum ] dip >fixnum fixnum+fast ] ]
+[ [ >R >fixnum R> >fixnum fixnum+fast ] ]
 [ [ { integer integer } declare + >fixnum ] test-modular-arithmetic ] unit-test
 
 [ [ +-integer-integer dup >fixnum ] ]
 [ [ { integer integer } declare + dup >fixnum ] test-modular-arithmetic ] unit-test
 
-[ [ [ >fixnum ] dip >fixnum fixnum+fast 4 fixnum*fast ] ]
+[ [ >R >fixnum R> >fixnum fixnum+fast 4 fixnum*fast ] ]
 [ [ { integer integer } declare + 4 * >fixnum ] test-modular-arithmetic ] unit-test
 
 TUPLE: declared-fixnum { x fixnum } ;