| pccX (15) | |
| How can I use a data type that is bigger than 64 bits? |
|
| firedraco (2612) | |
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 (6064) | |
| GMP comes to mind. |
|
| pccX (15) | |
| 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 (136) | |
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 (15) | |
| I am looking for a data type of index of an array. 64 bit indexing is small for what I am doing. |
|
| smilodon (136) | |
| 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 (778) | |
| smilodon is right. I don't think you've thought through the other limits that you might encounter using such an index. |
|
This topic is archived - New replies not allowed.