user72358: I am reading Bitcoin wiki and it says

over the previous 2016 blocks. Can be further simplified to
D * 2**32 / 600

without much loss of accuracy.

I guess the reason of reducing to 2**32 is for computing convenience (bit operation). However, 0xffffff / 2016 = 32.507440476190474 and 0xffffff / 2048 = 31.99951171875 which is more accurate.
Why was 2016 chosen instead of 2048?

user5406: 14 days have 20,160 minutes.
Likely the time window for the difficulty period and the targeted block interval were picked first and then the
2016 blocks resulted from that.

72358: <p>I am reading <a href="https://en.bitcoin.it/wiki/Difficulty#What_network_hash_rate_results_in_a_given_difficulty.3F" rel="nofollow noreferrer">Bitcoin wiki</a> and it says</p>
<blockquote>
<p>over the previous 2016 blocks. Can be further simplified to</p>
<pre><code>D * 2**32 / 600
</code></pre>
<p>without much loss of accuracy.</p>
</blockquote>
<p>I guess the reason of reducing to 2**32 is for computing convenience (bit operation). However, 0xffffff / 2016 = 32.507440476190474 and 0xffffff / 2048 = 31.99951171875 which is more accurate.</p>
<p>Why was 2016 chosen instead of 2048?</p>
 5406: <p>14 days have 20,160 minutes.</p>
<p>Likely the time window for the difficulty period and the targeted block interval were picked first and then the
2016 blocks resulted from that.</p>
