@woosh/meep-engine 2.119.108 → 2.119.109
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -43,7 +43,7 @@ export function int32_to_binary_string(input_value, byte_separator = " ", bit_co
|
|
|
43
43
|
result += byte_separator;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
const bit_value = (input_value << bit_index) >>> 31;
|
|
46
|
+
const bit_value = (input_value << (bit_index + 32 - bit_count)) >>> 31;
|
|
47
47
|
|
|
48
48
|
result += String(bit_value);
|
|
49
49
|
|