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 . The last digit may be wrong, and if it's 0 or 9, the penul­ti­mate digit may also be wrong.

Sources /macros/plain/contrib/misc/pi.tex
Ver­sion 0.993
Li­cense Un­known Sta­tus, No In­for­ma­tion Avail­able
Main­tainer De­nis B. Roegel
Topics per­form cal­cu­la­tions within
Guest Book Sitemap Contact Contact Author