split_by_3
split_by_3(a) ⇒ number
method to separate bits from a given integer 3 positions apart we only look at the first 10 bits
Kind: global function
Param | Type |
---|---|
a | number |
Example
when input is ABC, output bits are 00A00B00C
number
method to separate bits from a given integer 3 positions apart we only look at the first 10 bits
Kind: global function
Param | Type |
---|---|
a | number |
Example
when input is ABC, output bits are 00A00B00C