parity
Bit parity code for odd number of bits
I am trying to find the parity of a bitstring so that it returns 1 if x has an odd # of 0\'s. I can only use basic bitwise operations and what I have so far passes most of the tests, but I\'m wonderin[详细]
2023-04-07 05:15 分类:问答Computing Hamming code
I\'m a bit confused about computing Hamming code. In Wikipedia article it is written: Parity bit 1 covers all bit positions[详细]
2023-02-19 11:26 分类:问答Error detection techniques accuracy
I can\'t find information on the accuracy of different error detection techniques. Say if I want to be able to correct 1, 2, or 3 bit errors in 32-bit word, then I can use a modified Hamming code with[详细]
2023-02-19 07:38 分类:问答PARITY_NONE a keyword in C++ Windows?
I am writing a serial library using boost and I have an enum: enum parity_t { PARITY_NONE, PARITY_ODD, PARITY_EVEN };[详细]
2023-02-18 06:12 分类:问答are there any advantages for CRC when compared with 2 dimentional parity?
a开发者_StackOverflow社区re there any advantage for CRC when compared with 2 dimensional parity?with CRC, you can detect \"burst\" errors, that is any sequence of errors.[详细]
2023-02-09 03:07 分类:问答Calculate the parity of a byte in Ruby
What\'s the best way to calculate if a byte has odd or even parity in Ruby? I\'ve got a version working:[详细]
2023-01-31 12:10 分类:问答One instruction to clear PF (Parity Flag) -- get odd number of bits in result register
In x86 开发者_如何学JAVAassembly, is it possible to clear the Parity Flag in one and only one instruction, working under any initial register configuration?[详细]
2023-01-07 18:07 分类:问答determine parity of a bit representation of a number in MIPS
Is there some instruction in MIPS that will determine the parity of a certain bit representation? I know to determine whether a \"number\" has an even parity or an odd parity is to XOR开发者_运维问答[详细]
2022-12-26 16:44 分类:问答C# serial rs232 parity error
I\'m trying to get a simple serial reader going in C# to read info from an rs232. I\'m using VS2008. I can receive data fine with HyperTerminal and python but开发者_如何转开发 I keep getting parity er[详细]
2022-12-19 02:28 分类:问答