README.md

PI

R package "PI" approximates pi with very high-precesion. It takes only 0.04 seconds to approximate pi with 1,000,000,000 digits.

Installation

#install.packages("devtools")
library(devtools)
install_github("xliusufe/PI")

Usage

Example

library(PI)

pi <- Pi(1000)
print(pi,quote=FALSE)

Development

This R package is developed by Xu Liu (liu.xu@sufe.edu.cn).



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