[math-fun] RCS's minimum-memory method for computing pi to N bits