fix jshint errors in lib/binaryParsers.js
This commit is contained in:
parent
8e7e2f7a62
commit
5e3cfe5d47
@ -49,8 +49,9 @@ var parseFloatFromBits = function(data, precisionBits, exponentBits) {
|
|||||||
var sign = parseBits(data, 1);
|
var sign = parseBits(data, 1);
|
||||||
var exponent = parseBits(data, exponentBits, 1);
|
var exponent = parseBits(data, exponentBits, 1);
|
||||||
|
|
||||||
if (exponent === 0)
|
if (exponent === 0) {
|
||||||
return 0;
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
// parse mantissa
|
// parse mantissa
|
||||||
var precisionBitsCounter = 1;
|
var precisionBitsCounter = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user