128 bit integer with c on windows?
Is there any c compiler on windows able to use 128 bit integers natively? On example, you can use gcc on linux, with __uint128_t... any other chance on windows? (It would be great if 128 bit worked on 32 bit computers as well! :D)
Matteo
In GCC you can try `` attribute ((mode(...)))`, see here and here, eg
typedef unsigned int myU128 __attribute__((mode(TI)));
The results depend on your platform, though.
You could try using SSE intrinsics built into Visual C++
http://msdn.microsoft.com/en-us/library/5eawz414%28v=VS.80%29.aspx (Look at the __m128 type).
链接地址: http://www.djcxy.com/p/7992.html上一篇: 使用Node.JS,我如何将JSON对象读入(服务器)内存?
下一篇: 在窗口上使用c的128位整数?