high_performance_python icon indicating copy to clipboard operation
high_performance_python copied to clipboard

Chapter 11: Page 373 Morris counters

Open OncologyDS opened this issue 2 years ago • 0 comments

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!

OncologyDS avatar Jan 19 '23 10:01 OncologyDS