That part is still not very clear to me, either. That was directly taken from the C source code. When I get time, I was going to go through the history of that file to see if I could gain some insight from the series of commits that touched that line.
RE: Write a Steemit Web App: Part 13 - How to Calculate a Vote's RShares