Comprehensive TeX Archive Network

pi – Calculate pi

Gen­er­ates pi, us­ing the for­mula:


and leaves the re­sult in an ar­ray \xr, print­ing what it’s cal­cu­lated as it goes along.

The num­ber of dig­its you can com­pute de­pends on your im­ple­men­ta­tion of TeX. The last digit may be wrong, and if it's 0 or 9, the penul­ti­mate digit may also be wrong.

Li­censeUn­known Sta­tus, No In­for­ma­tion Avail­able
Main­tainerDe­nis B. Roegel
Topics per­form cal­cu­la­tions within TeX
Guest Book Sitemap Contact Contact Author