Referring to computer architecture with addresses and other data units 128 bits wide.
Questions tagged [128-bit]
85 questions
0
votes
1 answer
Can't compile console app, using QPFloat, a 128-bit floating-point library
I'm new here.
I have a problem I would love to be helped with. I'm pretty new to c# and I'm trying to use QPFloat library (https://sourceforge.net/p/qpfloat/home/Home/), that supports 128-bit floating-point arithmetic.
I downloaded the source code…

Flavio López
- 27
- 5
0
votes
2 answers
To store 128 bit hash: two bigints or binary(16)?
I must store few million 128-bit hash values to the database and I am struggling with my table design.
Should I store hash in two BIGINT fields or just use BINARY(16)? My typical use case is to find duplicate records based on hash.
I could just use…

itix
- 59
- 11
0
votes
5 answers
DataType for storing a long serial number (10 bytes)
We have a device which has a 10 byte serial number which must be read into our application and stored into a .net datatype. In the device it is stored as an unsigned 10-byte (80-bit) number. I don't expect we will be performing any mathematical…

CrimsonX
- 9,048
- 9
- 41
- 52
0
votes
1 answer
128bit texture in openGL does not display (black screen)
I create the texture like this:
GLuint PingPongShader::GenerateTexture()
{
float* pixels = new float[width*height * 4];
for(int i = 0; i < width * height; i+=4)
{
pixels[i] = 1.0;
pixels[i+1] = 1.0;
pixels[i+2] = 1.0;
pixels[i+3] =…

pixartist
- 1,137
- 2
- 18
- 40
0
votes
3 answers
16,32 etc.-byte variable for a utopic application
The following lines are part from my really "useless" C++ program... which is calculating powers of 2 only up to 2^63 instead of 2^128 "which is being asked" due to the length of the "unsigned long long" variable which is proposed for numbers with…

foldingAthellas
- 1
- 1
0
votes
1 answer
Bitwise operation on decimal datatype in .NET
I just learned that decimal datatype is represented by 128 bits in .NET
Is it possible to do bitwise operations on decimal, and will that be any faster/slower than doing the operation on 2 ulong?

PEtter
- 806
- 9
- 22
-1
votes
1 answer
How to output number in the range 64 bits to 128 bits ( like 2^64, 3^64, 4^64 etc)?
When i was coding i got a problem like: i need to output number which is 2^64 (also 3^64 and others). I have tried unsigned long long int, but it's still not enough (it contains 2^64-1). If anyone know how i can output numbers from 64bits to…

Dynam1k
- 1
-1
votes
2 answers
Bitwise operations on 128-bit values on a non-sse2 arch
I am writing a routine in C, targeted for an embedded platform.In the routine I need to perform bitwise XOR and SHIFT RIGHT operations on 128-bit values. The target arch doesn't have SSE2, hence no native 128-bit operations supported. I came across…

HungryFoolish
- 542
- 1
- 9
- 27
-1
votes
2 answers
Java Code for CRC 128 bit
I need to compute a CRC 128 bit checksum for strings extracted from documents.
I am looking around on the internet but cant find any pseudo code or java code.
So anyone can help me?
Thanks for your attention.

Nguyen Trung
- 11
- 2
-2
votes
1 answer
Haskell 128bit showing
My Question is that: Is it possible to show (2^63::Int) in 128 bit in Haskell?
Because of Int abs (2^63::Int) will not work because of the Int, but What If I have a 128 bit computer or compiler is it possible then to show the result?
Of course if it…

gazrobur
- 141
- 1
- 13