Rescale a 64-bit integer with rounding to nearest. A simple a*b/c isn't possible as it can overflow.
See Implementation
Rescale a 64-bit integer with rounding to nearest. A simple a*b/c isn't possible as it can overflow.