Cycle length was tested to be 2**32中两个星号什么意思?
下面是Johnsn M.Hart的Windows System Programming 中示例程序的片段,
用于产生随机数。
注释Cycle length was tested to be 2**32中两个星号什么意思?
2的32次方?不太像。
DWORD randx (VOID) /* Cycle length was tested to be 2**32. */
{
next = next * 1103515245 + 12345;
return next;
}