https://en.wikipedia.org/wiki/Z-order_curve
def cmp_zorder(a, b):
j = 0
k = 0
x = 0
for k in range(dim):
y = a[k] ^ b[k]
if less_msb(x, y):
j = k
https://en.wikipedia.org/wiki/Z-order_curve
def cmp_zorder(a, b):
j = 0
k = 0
x = 0
for k in range(dim):
y = a[k] ^ b[k]
if less_msb(x, y):
j = k
function getNumberParts(x) {
var float = new Float64Array(1),
bytes = new Uint8Array(float.buffer);
float[0] = x;
var sign = bytes[7] >> 7,
exponent = ((bytes[7] & 0x7f) << 4 | bytes[6] >> 4) - 0x3ff;
#Binary and Octal Literals In in ES5, hexadecimal numbers can be represented with 0x in front of the number:
console.log(0xFFFFF);
Now, in ES6, a similar feature has been added for binary and octal numbers: