bit
Bit manipulation of chars in Java or C?
I am a student trying to implement the DES algorithm. I have a choice of 2 languages: C & Java. I did understand the algorithm, but am stuck at the very beginning as to manipulation of the key.[详细]
2023-03-25 23:45 分类:问答Programming language with arbitrary but fixed precision integers?
Are there any programming languages out there that support n-bit integer types for arbitrary n as primitives?That is, is there a language where I could write something to the effect of[详细]
2023-03-25 18:00 分类:问答How can I cast an int to a bit in MySQL 5.1?
I am transitioning from SQL Server to MySQL 5.1 and seem to be tripped up trying to create a table using a sele开发者_运维技巧ct statement so that the column is a bit.[详细]
2023-03-25 00:23 分类:问答Retrieving a bit column from sql database in VB NET
I have encountered a problem where in my database I have a column that is a bit either 0 or 1 specifying if a user is an admin or is account suspended or not. And in my VB code I am trying to retrieve[详细]
2023-03-23 10:39 分类:问答Does anyone know how to count the number of bytes in a string?
If I have a string in JavaScript what\'s the best way to go about counting the number of bytes or bits the string takes up?[详细]
2023-03-23 06:50 分类:问答Double.doubleToLongBits equivalent in C#?
there\'s a Java method Double.doubleToLongBits that basic开发者_如何学Cally gets a double and return a long with the same bits.[详细]
2023-03-22 22:11 分类:问答Bit Shifting in Place [closed]
Closed. This question needs debugging details. It is not currently accepting answers. 开发者_如何学Go[详细]
2023-03-22 19:56 分类:问答set some consecutive bits in a byte
I need an efficient method with the following signature: public byte SetBits(byte oldValue, byte newValue, int startBit, int bitCount)[详细]
2023-03-21 06:50 分类:问答Large number arithmetic
I have read somewhere that to handle large number arithmetic (really really large) we should store number in large b开发者_JS百科ase at max squareroot(MAXNUMBER). Because representing a number in larg[详细]
2023-03-21 06:02 分类:问答Elementary abelian groups
I just read 开发者_高级运维on Wikipedia about elementary abelian groups which appear to be related to bit fields. I\'d be grateful if someone could explain me this particular paragraph as I strive to[详细]
2023-03-20 14:40 分类:问答