Home
last modified time | relevance | path

Searched refs:div_func (Results 1 – 1 of 1) sorted by relevance

/external/v8/test/mjsunit/
Ddiv-mod.js32 function divmod(div_func, mod_func, x, y) { argument
33 var div_answer = (div_func)(x);
37 var minus_div_answer = (div_func)(-x);
46 var div_func = this.eval("(function(left) { return left / " + divisor + "; })");
50 divmod(div_func, mod_func, 0, divisor);
51 divmod(div_func, mod_func, 1 / 0, divisor);
54 divmod(div_func, mod_func, Math.pow(2, exp), divisor);
55 divmod(div_func, mod_func, 0.9999999 * Math.pow(2, exp), divisor);
56 divmod(div_func, mod_func, 1.0000001 * Math.pow(2, exp), divisor);
60 divmod(div_func, mod_func, 1 << exp, divisor);
[all …]