#

Search | Home | Alpha | Brief | Topical | Hierarchical

pi

Calculate pi.

Generates pi, using the formula:

&nbsp;&nbsp;&nbsp;&nbsp; Pi=16*arctan(1/5)-4*arctan(1/239)

and leaves the result in an array \xr.

The number of digits you can compute depends on your implementation of TeX. The last digit may be wrong, and if it's 0 or 9, the penultimate digit may also be wrong.

The author is Denis B. Roegel.

License: unknown Version: 0.993 Catalogued: 2005-12-01

- Visit
  - Visit a nearby CTAN:/macros/plain/contrib/misc/pi.tex. If this fails, try Cambridge.
  - Visit Cambridge:/macros/plain/contrib/misc/pi.tex