Lines Matching refs:Math
48 * have to split them into two 32-bit halves and do the math manually.
77 var highBits = Math.floor((value - lowBits) /
93 value = Math.abs(value);
97 var highBits = Math.floor((value - lowBits) /
126 value = Math.abs(value) * 2;
195 mant = Math.round(value / Math.pow(2, -149));
201 exp = Math.floor(Math.log(value) / Math.LN2);
202 mant = value * Math.pow(2, -exp);
203 mant = Math.round(mant * jspb.BinaryConstants.TWO_TO_23) & 0x7FFFFF;
250 var mant = value / Math.pow(2, -1074);
257 var exp = Math.floor(Math.log(value) / Math.LN2);
259 var mant = value * Math.pow(2, -exp);
373 return sign * Math.pow(2, -149) * mant;
375 return sign * Math.pow(2, exp - 150) *
376 (mant + Math.pow(2, 23));
403 return sign * Math.pow(2, -1074) * mant;
405 return sign * Math.pow(2, exp - 1075) *
480 digitB += Math.floor(digitA / base);
485 digitC += Math.floor(digitB / base);