Added precision calculation.