use long math for long results
Merge branch 'cassandra-2.1' into trunk