Home
last modified time | relevance | path

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

/external/chromium_org/v8/test/mjsunit/
Ddiv-mod.js32 function divmod(div_func, mod_func, x, y) { argument
35 var mod_answer = (mod_func)(x);
39 var minus_mod_answer = (mod_func)(-x);
47 var mod_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 …]