rounding_bias function

Compute rounding bias