summaryrefslogtreecommitdiff
path: root/src/lib/binaryXHR.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/binaryXHR.js')
-rw-r--r--src/lib/binaryXHR.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/binaryXHR.js b/src/lib/binaryXHR.js
index fb27f2a..dd0f91b 100644
--- a/src/lib/binaryXHR.js
+++ b/src/lib/binaryXHR.js
@@ -131,7 +131,7 @@ function BinaryFile(strData, iDataOffset, iDataLength) {
var iMantLo=((((iByte3) << 8) + iByte2) << 8) + iByte1;
if (iExpRaw==0) return 0.0;
- if (iExpRaw==0x7ff) return false;
+ if (iExpRaw==0x7ff) return undefined;
var iExp=(iExpRaw & 0x7FF)-1023;
@@ -150,7 +150,7 @@ function BinaryFile(strData, iDataOffset, iDataLength) {
var iMant=((((iByte7 & 0x0F) << 8) + iByte6) << 8) + iByte5;
if (iExpRaw==0) return 0.0;
- if (iExpRaw==0x7ff) return false;
+ if (iExpRaw==0x7ff) return undefined;
var iExp=(iExpRaw & 0x7FF)-1023;