more precise fp math on duration and scale fraction