Lines Matching refs:k

52   for (var k = 0; k <= limit; k++) {
53 if (k > exhaustive_limit) { c += step; k += c; }
54 assertEquals(Math.floor(div(k, 1)), Math.floor(k / 1));
55 assertEquals(Math.floor(div(k, -1)), Math.floor(k / -1));
56 assertEquals(Math.floor(div(k, 2)), Math.floor(k / 2));
57 assertEquals(Math.floor(div(k, -2)), Math.floor(k / -2));
58 assertEquals(Math.floor(div(k, 3)), Math.floor(k / 3));
59 assertEquals(Math.floor(div(k, -3)), Math.floor(k / -3));
60 assertEquals(Math.floor(div(k, 4)), Math.floor(k / 4));
61 assertEquals(Math.floor(div(k, -4)), Math.floor(k / -4));
62 assertEquals(Math.floor(div(k, 5)), Math.floor(k / 5));
63 assertEquals(Math.floor(div(k, -5)), Math.floor(k / -5));
64 assertEquals(Math.floor(div(k, 6)), Math.floor(k / 6));
65 assertEquals(Math.floor(div(k, -6)), Math.floor(k / -6));
66 assertEquals(Math.floor(div(k, 7)), Math.floor(k / 7));
67 assertEquals(Math.floor(div(k, -7)), Math.floor(k / -7));
68 assertEquals(Math.floor(div(k, 8)), Math.floor(k / 8));
69 assertEquals(Math.floor(div(k, -8)), Math.floor(k / -8));
70 assertEquals(Math.floor(div(k, 9)), Math.floor(k / 9));
71 assertEquals(Math.floor(div(k, -9)), Math.floor(k / -9));
72 assertEquals(Math.floor(div(k, 10)), Math.floor(k / 10));
73 assertEquals(Math.floor(div(k, -10)), Math.floor(k / -10));
74 assertEquals(Math.floor(div(k, 11)), Math.floor(k / 11));
75 assertEquals(Math.floor(div(k, -11)), Math.floor(k / -11));
76 assertEquals(Math.floor(div(k, 12)), Math.floor(k / 12));
77 assertEquals(Math.floor(div(k, -12)), Math.floor(k / -12));
78 assertEquals(Math.floor(div(k, 13)), Math.floor(k / 13));
79 assertEquals(Math.floor(div(k, -13)), Math.floor(k / -13));
80 assertEquals(Math.floor(div(k, 14)), Math.floor(k / 14));
81 assertEquals(Math.floor(div(k, -14)), Math.floor(k / -14));
82 assertEquals(Math.floor(div(k, 15)), Math.floor(k / 15));
83 assertEquals(Math.floor(div(k, -15)), Math.floor(k / -15));
84 assertEquals(Math.floor(div(k, 16)), Math.floor(k / 16));
85 assertEquals(Math.floor(div(k, -16)), Math.floor(k / -16));
86 assertEquals(Math.floor(div(k, 17)), Math.floor(k / 17));
87 assertEquals(Math.floor(div(k, -17)), Math.floor(k / -17));
88 assertEquals(Math.floor(div(k, 18)), Math.floor(k / 18));
89 assertEquals(Math.floor(div(k, -18)), Math.floor(k / -18));
90 assertEquals(Math.floor(div(k, 19)), Math.floor(k / 19));
91 assertEquals(Math.floor(div(k, -19)), Math.floor(k / -19));
92 assertEquals(Math.floor(div(k, 20)), Math.floor(k / 20));
93 assertEquals(Math.floor(div(k, -20)), Math.floor(k / -20));
94 assertEquals(Math.floor(div(k, 21)), Math.floor(k / 21));
95 assertEquals(Math.floor(div(k, -21)), Math.floor(k / -21));
96 assertEquals(Math.floor(div(k, 22)), Math.floor(k / 22));
97 assertEquals(Math.floor(div(k, -22)), Math.floor(k / -22));
98 assertEquals(Math.floor(div(k, 23)), Math.floor(k / 23));
99 assertEquals(Math.floor(div(k, -23)), Math.floor(k / -23));
100 assertEquals(Math.floor(div(k, 24)), Math.floor(k / 24));
101 assertEquals(Math.floor(div(k, -24)), Math.floor(k / -24));
102 assertEquals(Math.floor(div(k, 25)), Math.floor(k / 25));
103 assertEquals(Math.floor(div(k, -25)), Math.floor(k / -25));
104 assertEquals(Math.floor(div(k, 125)), Math.floor(k / 125));
105 assertEquals(Math.floor(div(k, -125)), Math.floor(k / -125));
106 assertEquals(Math.floor(div(k, 625)), Math.floor(k / 625));
107 assertEquals(Math.floor(div(k, -625)), Math.floor(k / -625));
110 for (var k = 0; k <= limit; k++) {
111 if (k > exhaustive_limit) { c += step; k += c; }
112 assertEquals(Math.floor(div(-k, 1)), Math.floor(-k / 1));
113 assertEquals(Math.floor(div(-k, -1)), Math.floor(-k / -1));
114 assertEquals(Math.floor(div(-k, 2)), Math.floor(-k / 2));
115 assertEquals(Math.floor(div(-k, -2)), Math.floor(-k / -2));
116 assertEquals(Math.floor(div(-k, 3)), Math.floor(-k / 3));
117 assertEquals(Math.floor(div(-k, -3)), Math.floor(-k / -3));
118 assertEquals(Math.floor(div(-k, 4)), Math.floor(-k / 4));
119 assertEquals(Math.floor(div(-k, -4)), Math.floor(-k / -4));
120 assertEquals(Math.floor(div(-k, 5)), Math.floor(-k / 5));
121 assertEquals(Math.floor(div(-k, -5)), Math.floor(-k / -5));
122 assertEquals(Math.floor(div(-k, 6)), Math.floor(-k / 6));
123 assertEquals(Math.floor(div(-k, -6)), Math.floor(-k / -6));
124 assertEquals(Math.floor(div(-k, 7)), Math.floor(-k / 7));
125 assertEquals(Math.floor(div(-k, -7)), Math.floor(-k / -7));
126 assertEquals(Math.floor(div(-k, 8)), Math.floor(-k / 8));
127 assertEquals(Math.floor(div(-k, -8)), Math.floor(-k / -8));
128 assertEquals(Math.floor(div(-k, 9)), Math.floor(-k / 9));
129 assertEquals(Math.floor(div(-k, -9)), Math.floor(-k / -9));
130 assertEquals(Math.floor(div(-k, 10)), Math.floor(-k / 10));
131 assertEquals(Math.floor(div(-k, -10)), Math.floor(-k / -10));
132 assertEquals(Math.floor(div(-k, 11)), Math.floor(-k / 11));
133 assertEquals(Math.floor(div(-k, -11)), Math.floor(-k / -11));
134 assertEquals(Math.floor(div(-k, 12)), Math.floor(-k / 12));
135 assertEquals(Math.floor(div(-k, -12)), Math.floor(-k / -12));
136 assertEquals(Math.floor(div(-k, 13)), Math.floor(-k / 13));
137 assertEquals(Math.floor(div(-k, -13)), Math.floor(-k / -13));
138 assertEquals(Math.floor(div(-k, 14)), Math.floor(-k / 14));
139 assertEquals(Math.floor(div(-k, -14)), Math.floor(-k / -14));
140 assertEquals(Math.floor(div(-k, 15)), Math.floor(-k / 15));
141 assertEquals(Math.floor(div(-k, -15)), Math.floor(-k / -15));
142 assertEquals(Math.floor(div(-k, 16)), Math.floor(-k / 16));
143 assertEquals(Math.floor(div(-k, -16)), Math.floor(-k / -16));
144 assertEquals(Math.floor(div(-k, 17)), Math.floor(-k / 17));
145 assertEquals(Math.floor(div(-k, -17)), Math.floor(-k / -17));
146 assertEquals(Math.floor(div(-k, 18)), Math.floor(-k / 18));
147 assertEquals(Math.floor(div(-k, -18)), Math.floor(-k / -18));
148 assertEquals(Math.floor(div(-k, 19)), Math.floor(-k / 19));
149 assertEquals(Math.floor(div(-k, -19)), Math.floor(-k / -19));
150 assertEquals(Math.floor(div(-k, 20)), Math.floor(-k / 20));
151 assertEquals(Math.floor(div(-k, -20)), Math.floor(-k / -20));
152 assertEquals(Math.floor(div(-k, 21)), Math.floor(-k / 21));
153 assertEquals(Math.floor(div(-k, -21)), Math.floor(-k / -21));
154 assertEquals(Math.floor(div(-k, 22)), Math.floor(-k / 22));
155 assertEquals(Math.floor(div(-k, -22)), Math.floor(-k / -22));
156 assertEquals(Math.floor(div(-k, 23)), Math.floor(-k / 23));
157 assertEquals(Math.floor(div(-k, -23)), Math.floor(-k / -23));
158 assertEquals(Math.floor(div(-k, 24)), Math.floor(-k / 24));
159 assertEquals(Math.floor(div(-k, -24)), Math.floor(-k / -24));
160 assertEquals(Math.floor(div(-k, 25)), Math.floor(-k / 25));
161 assertEquals(Math.floor(div(-k, -25)), Math.floor(-k / -25));
162 assertEquals(Math.floor(div(-k, 125)), Math.floor(-k / 125));
163 assertEquals(Math.floor(div(-k, -125)), Math.floor(-k / -125));
164 assertEquals(Math.floor(div(-k, 625)), Math.floor(-k / 625));
165 assertEquals(Math.floor(div(-k, -625)), Math.floor(-k / -625));