Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道对于浮点数,IEEE 有一个标准的表示格式——IEEE 754。uint64_t 有标准的表示吗?
它是无符号整数,因此没有符号位,并且应该有一个扁平位结构,使得
value = bit_0 * 2^0 + bit_1 * 2^1 + bit_2 * 2^2 + . . . + bit_(n-1) * 2^(n-1) value = sigma (i=0 to n-1) {bit_i * 2^i}