Lines Matching refs:exp
5478 var exp = exponents[expptr++];
5502 if (exp !== exponents[expptr]) {
5503 exp = exponents[expptr];
5547 requantized = this.requantize(value, exp);
5556 requantized = reqcache[value] = this.requantize(value, exp);
5584 requantized = this.requantize(value, exp);
5593 reqcache[value] = this.requantize(value, exp);
5614 requantized = reqcache[value] = this.requantize(value, exp);
5629 requantized = reqcache[value] = this.requantize(value, exp);
5644 var requantized = this.requantize(1, exp);
5666 if (exp !== exponents[expptr]) {
5667 exp = exponents[expptr];
5668 requantized = this.requantize(1, exp);
5684 if (exp !== exponents[expptr]) {
5685 exp = exponents[expptr];
5686 requantized = this.requantize(1, exp);
5719 Layer3.prototype.requantize = function(value, exp) { argument
5721 var frac = (exp % 4) >> 0; // assumes sign(frac) === sign(exp)
5722 exp = (exp / 4) >> 0;
5725 requantized *= Math.pow(2.0, (exp / 4.0));
5731 if (exp < 0) {
5732 requantized /= Math.pow(2.0, -exp * (3.0 / 4.0));