128 bit data type

Jun 27, 2009 at 3:10am
How can I use a data type that is bigger than 64 bits?
Jun 27, 2009 at 3:35am
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 Jun 27, 2009 at 3:36am
Jun 27, 2009 at 4:12am
GMP comes to mind.
Jun 30, 2009 at 1:08am
What is GMP?
Jun 30, 2009 at 4:30am
Look into this, it may be of some help to you...

http://msdn.microsoft.com/en-us/library/s3f49ktz(VS.71).aspx
Jul 1, 2009 at 7:44pm
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 Jul 1, 2009 at 7:44pm
Jul 2, 2009 at 4:51pm
I am looking for a data type of index of an array. 64 bit indexing is small for what I am doing.
Jul 2, 2009 at 7:58pm
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
Jul 2, 2009 at 10:25pm
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.