----- Original Message ----- From: "Jim Michaels" > > 128-bit constants are not allowed in mingw-w64 apparently. they must be > designed into the language. > > I don't know why there isn't a 128-bit data type - there are UUID's on > UNIX, the > MAC, and the equivalent GUID on windows (a 128-bit number). > seems to me that a 128-bit number would be an ideal storage place for > this. All > you would need is some conversion stuff maybe - I guess that's up the > programmer. >
All I know is that I couldn't find a way to directly assign 128-bit literals ... nor could I find a (s)printf formatter for 128-bit values. Initially, I just built my 128-bit values from __int64's, and then checked they were as expected by printf'ing the high 64 bits and low 64 bits. Since then, a Math::Int128 perl module has been written, which allows me to further verify that the 128-bit stuff is functioning correctly. (But I still haven't come across a way to either directly assign or printf 128-bit values in C with my compiler.) Cheers, Rob ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
