Lines Matching refs:sign
57 if (mantissa_23_bits == 0 && mantissa_29_bits == 0) return sign * Infinity;
62 var sign = this.sign_bit ? -1 : 1;
67 return sign * Math.pow(2, exponent) * mantissa;
71 var sign = this.sign_bit ? -1 : 1;
74 if (exponent > 127) return sign * Infinity;
75 if (exponent < -126) return this.toSingleSubnormal(sign, exponent);
78 return sign * Math.pow(2, exponent) * mantissa;
81 ieee754float.prototype.toSingleSubnormal = function(sign, exponent) { argument
83 if (shift > 24) return sign * 0;
97 return sign * Math.pow(2, -126) * mantissa;
106 function fuzz_mantissa(sign, exp, m1inc, m2inc) { argument
109 var float = new ieee754float(sign, exp, m1, m2);
116 for (var sign = 0; sign < 2; sign++) {
118 fuzz_mantissa(sign, exp, 1337 * exp - sign, 127913 * exp - sign);