cplusplus.com
C++ : Forum : General C++ Programming : 128 bit data type
 
cplusplus.com
Information
Documentation
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs


post 128 bit data type

pccX (19)
How can I use a data type that is bigger than 64 bits?
firedraco (4744)
std::bitset, or you can manually allocate stuff by manually allocating data with malloc or other stuff.

There is also another non-standard C only word that is called an "octaword"
http://en.wikipedia.org/wiki/Integer_(computer_science)
Last edited on
helios (9402)
GMP comes to mind.
pccX (19)
What is GMP?
naeem (8)
Look into this, it may be of some help to you...

http://msdn.microsoft.com/en-us/library/s3f49ktz(VS.71).aspx
smilodon (155)
my computer supports a 96-bit long double (12 bytes), though it might be the compiler g++.

What are you looking for this data type to support?
Last edited on
pccX (19)
I am looking for a data type of index of an array. 64 bit indexing is small for what I am doing.
smilodon (155)
what do you need more than 64-bits of indexing for? 64bits should take care of any array size up to a couple of EB of memory
PanGalactic (1558)
smilodon is right. I don't think you've thought through the other limits that you might encounter using such an index.
Topic archived. No new replies allowed.