math_util: speed up rescaling on 64-bit platforms by using native 128-bit types