basho/riak_core — pull request #242 by jpyle (2012-10-17 21:26:18+00:00)
Title: Update RINGTOP calculation

RINGTOP is calcuated incorrectly as
```erlang
trunc(math:pow(2,160)-1)
```
because substracting one from such a large float before the trunc call has no
effect. Subtracting one after the trunc call results in the correct
value.
```erlang
trunc(math:pow(2,160))-1
```