diff --git a/basis/math/ratios/ratios.factor b/basis/math/ratios/ratios.factor index 2464125d22..cb6dc29760 100644 --- a/basis/math/ratios/ratios.factor +++ b/basis/math/ratios/ratios.factor @@ -75,5 +75,5 @@ M: ratio * 2>fraction [ * ] 2bi@ / ; M: ratio / scale / ; M: ratio /i scale /i ; M: ratio /f scale /f ; -M: ratio mod 2dup /i * - ; +M: ratio mod scale+d [ mod ] [ / ] bi* ; M: ratio /mod scale+d [ /mod ] [ / ] bi* ;