Pi
From Free Pascal wiki
Jump to navigationJump to search
│
Deutsch (de) │
English (en) │
suomi (fi) │
français (fr) │
русский (ru) │
中文(中国大陆) (zh_CN) │
π (greek letter pi) is the ratio of the circumference of a circle to its diameter.
π is about 3.14159265358979
.
A full circle has 2*pi()
radians.
In Free Pascal's RTL, system.pi
is a function
which returns the value of π.
This allows you to assign addr(system.pi)
to a procedural variable.
pi()/4
is the same as arctan(1)
.
See also
system.pi
system.arctan
calculates arc tangent.