high_performance_python
high_performance_python copied to clipboard
Chapter 11: Page 373 Morris counters
The book states: "The maximum we could approximately count where we use a single unsigned byte for the exponent is math.pow(2,255) == 5e76". The actual value is 5.79 x 10^76, so it should be rounded to 6. This might be intentional as the counters are approximate but I thought I'd bring it up!