Adi Oltean's Weblog - Flashbacks on technology, programming, and other interesting things
Proof that:
floor(x * n) = floor(x) + floor(x + 1/n) + floor(x + 2/n) + ... + floor(x + (n-1)/n)
Note: x is real, and n is integer.
PingBack from http://onlyoutdoorrugs.info/story.php?id=345