Pi: Approximate Pi with very high-precesion.

Description Usage Arguments Value Author(s) Examples

Description

Approximate π with very high-precesion. It takes only 0.04 seconds to approximate π with 1,000,000,000 digits.

Usage

1
Pi(n)

Arguments

n

A non negative integer.

Value

pi

The approximation of π, which is a string.

Author(s)

Xu Liu

Examples

1
2
pi <- Pi(100)
print(pi,quote=FALSE)

xliusufe/PI documentation built on June 1, 2019, 6:08 p.m.