English 中文(简体)
保留数据,从27比值改为19比值
原标题:Retain Data from 27 bit to 19 bit conversion

我有一个出入控制解决方案,即27个轨道格式是设施代码的13个参照点和坏账的14个参照点。 反之,我需要将其转化为设施法的8个参照点和坏账的16个参照点。

我能从27个轨道一侧转换成8个轨道设施代码大小,得出同样的结果,这是最大的数字吗? 如果我对设施法有13个参照点,那么我有多少借方能够继续获得同样的结果和8个比方规模?

最佳回答

如果设施法从来不超过255条,那么你可以将5个最重要的轨道(即保留8个最不重要的轨道)排除在外,而不失去信息。

问题回答

暂无回答




相关问题
Javascript bitwise problem

I have a problem while using bitwise in javascript. I don t know if I m going about this the wrong way. But here goes. I have 4 main categories. With id 1,2,4,8. A item in my object has a property ...

Bit Shifting, Masking or a Bit Field Struct?

I m new to working with bits. I m trying to work with an existing protocol, which can send three different types of messages. Type 1 is a 16-bit structure: struct digital { unsigned int type:2; ...

store a string in an int

i try to store a string into an integer as follows: i read the characters of the string and every 4 characters i do this: val = (int) ch << 24 | (int) ch << 16 | (int) ch << 8 | (...

Do bitwise operations distribute over addition?

I m looking at an algorithm I m trying to optimize, and it s basically a lot of bit twiddling, followed by some additions in a tight feedback. If I could use carry-save addition for the adders, it ...

Difference between ^ Operator in JS and Python

I need to port some JS code which involves Math.random()*2147483648)^(new Date).getTime(). While it looks like for smaller numbers, the python function and the JS function are equivalent in function, ...

热门标签