Lines Matching refs:Math
133 // To make the benchmark results predictable, we replace Math.random
135 Math.random = (function() {
151 // The benchmark framework guarantees that Math.random is
153 return Math.random();
161 var point = new Point(Math.random() * 40 - 20,
162 Math.random() * 40 - 20,
163 Math.random() * 40 - 20,
265 this.maxPause = Math.max(v, this.maxPause);
318 var rx = x * Math.cos(this.angle) - z * Math.sin(this.angle);
320 var rz = x * Math.sin(this.angle) + z * Math.cos(this.angle);
329 this.ctx.arc(px, py, kPointRadius, 0, 2 * Math.PI, true);
358 this.angle += Math.PI / 90.0;
367 pauseDistribution[Math.floor(pause / 10)] |= 0;
368 pauseDistribution[Math.floor(pause / 10)]++;
375 Math.round(numberOfFrames * 1000 / sumOfSquaredPauses);