Get the latest tech news

Counting large numbers of events in small floating point registers


In 1978, the ACM published an algorithm by Robert Morris for counting large numbers of events in small registers. It uses one byte to keep track of the approximate logarithm of the count, and randomly increments the logarithm with a probability that scales with the value of the count.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of events

events

Photo of large numbers

large numbers

Related news:

News photo

WhatsApp will let you invite friends to events who aren’t on the app

News photo

Apple Store Near Los Angeles Closed Due to 'Events Beyond Our Control'

News photo

Beyond TechCrunch Disrupt 2026: The Side Events, Parties & Networking You Can’t Miss