Only 17% of all 64-bit Integers are products of two 32-bit integers
#HackerNews #64bitIntegers #32bitMath #NumberTheory #HackerNews #ProgrammingInsights

Only 17% of all 64-bit Integers are products of two 32-bit integers
In software programming, the product between two integers is often computed to a fixed number of bits with overflow. Consider 8-bit integers. If you multiply 127 by 127, you get back the number 1 as an 8-bit unsigned integer, with an overflow. The actual full product is 16129. To represent 16129, you typically use 16 … Continue reading Only 17% of all 64-bit Integers are products of two 32-bit integers