Difference between revisions of "Pi"

From Lazarus wiki
Jump to navigationJump to search
(review)
m (links via Template:Doc)
Line 12: Line 12:
  
 
== See also ==
 
== See also ==
* [[doc:rtl/system/pi.html|Pi]]
+
* {{Doc|package=RTL|unit=system|identifier=pi|text=<code>system.pi</code>}}
* [[doc:rtl/system/arctan.html|ArcTan]] calculate arc tangent.
+
* {{Doc|package=RTL|unit=system|identifier=arctan|text=<code>system.arctan</code>}} calculates arc tangent.

Revision as of 16:25, 24 January 2018

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 Pascal, system.pi is a function which returns the value of π. This gives you the chance to shadow (redefine) pi().

pi()/4 is the same as arctan(1).


See also