The current code uses floating point division and casting to int, this is more nicely done using integer divisions.
While at it I've also streamlined the integer packing/unpacking utils.
Please consider merging the lgo/next branch instead of these individual PRs.
The current code uses floating point division and casting to int, this is more nicely done using integer divisions. While at it I've also streamlined the integer packing/unpacking utils.
Please consider merging the
lgo/next
branch instead of these individual PRs.