Macaulay2 » Documentation
Packages » Macaulay2Doc » analytic functions » Constant » 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.141592653589793

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

o3 = 3.141592653589793238462643383279

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

o4 = 6.283185307179586

o4 : RR (of precision 53)

For the programmer

The object pi is an instance of the type Constant.


The source of this document is in Macaulay2Doc/ov_analytic_functions.m2:129:0.