Building the full value of pi has been a project thousands of years in the making, but just how much of this infinite number do we actually need, asks our maths columnist Jacob Aron