Macaulay2 » Documentation
Packages » Macaulay2Doc :: pi
next | previous | forward | backward | up | index | toc

pi

Description

This constant represents the mathematical constant $\pi$, symbolically.

i1 : pi

o1 = pi

o1 : Constant
i2 : +pi

o2 = 3.14159265358979

o2 : RR (of precision 53)
i3 : numeric_100 pi

o3 = 3.14159265358979323846264338328

o3 : RR (of precision 100)
i4 : 2. * pi

o4 = 6.28318530717959

o4 : RR (of precision 53)

For the programmer

The object pi is an instance of the type Constant.