]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/math/finance/finance.factor
Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places...
[factor.git] / extra / math / finance / finance.factor
index 4823e358b007137783752f7258d3998eb9727daa..5954b08c9b3649331aafe2c0d666dc73c6defd7b 100644 (file)
@@ -7,10 +7,10 @@ IN: math.finance
 <PRIVATE
 
 : weighted ( x y a -- z )
-    tuck [ * ] [ 1- neg * ] 2bi* + ;
+    tuck [ * ] [ 1 - neg * ] 2bi* + ;
 
 : a ( n -- a )
-    1+ 2 swap / ;
+    1 + 2 swap / ;
 
 PRIVATE>