i meant the formula i gave you.

have you tried 3 + 1/3 - 1/5 + 1/7 - 1/9...? this should be also faster than your approach.