Pi: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: Pi
| Old | New | Line | |
|---|---|---|---|
| 1 | + | π (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()` [[Radian|radians]]. | |
| 2 | + | ||
| 3 | + | In [[Free Pascal|Free Pascal's]] [[RTL]], `system.pi` is a [[Function|function]] which returns the value of π. This allows you to assign `addr(system.pi)` to a procedural variable. | |
| 4 | + | ||
| 5 | + | `pi()/4` is the same as `arctan(1)`. | |
| 6 | + | ||
| 7 | + | ## See also | |
| 8 | + | ||
| 9 | + | - [`system.pi`](https://www.freepascal.org/docs-html/rtl/system/pi.html) | |
| 10 | + | - [`system.arctan`](https://www.freepascal.org/docs-html/rtl/system/arctan.html) calculates arc tangent. | |
| 11 | + | ||
| 12 | + | --- | |
| 13 | + | *From the Free Pascal wiki, page "Pi", as it stood on 2022-08-06 after a change by Kai Burghardt, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* |
