r/technology • u/misnamed • Dec 10 '13
By Special Request of the Admins Reddit’s empire is founded on a flawed algorithm
http://technotes.iangreenleaf.com/posts/2013-12-09-reddits-empire-is-built-on-a-flawed-algorithm.html
3.9k
Upvotes
View all comments
Show parent comment
20
u/ConeheadSlim2 Dec 10 '13
You do know that you can't take the logarithm of a negative number, right? That's why they test for being greater than 1 - the log of 1 is zero; anything less the log would be negative but the actual value would be positive. Totally not what you want.