Code to calculate compensated pressure using int64.