gyro zero mean calculation

I don't understand the current mean calculation of the gyro zero values. Why is 0.5 added to the zero value?