Converts a quantized value to its real value.
double dequantize(int value) => (value - zeroPoint) * scale;