summaryrefslogtreecommitdiff
path: root/lib/stdlib/doc/src/math.xml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stdlib/doc/src/math.xml')
-rw-r--r--lib/stdlib/doc/src/math.xml17
1 files changed, 14 insertions, 3 deletions
diff --git a/lib/stdlib/doc/src/math.xml b/lib/stdlib/doc/src/math.xml
index 59a05a4e5a..69df237496 100644
--- a/lib/stdlib/doc/src/math.xml
+++ b/lib/stdlib/doc/src/math.xml
@@ -5,7 +5,7 @@
<header>
<copyright>
<year>1996</year>
- <year>2020</year>
+ <year>2023</year>
<holder>Ericsson AB, All Rights Reserved</holder>
</copyright>
<legalnotice>
@@ -102,9 +102,20 @@ erf(X) = 2/sqrt(pi)*integral from 0 to X of exp(-t*t) dt.</pre>
<func>
<name name="pi" arity="0" since=""/>
- <fsummary>A useful number.</fsummary>
+ <fsummary>Ratio of the circumference of a circle to its diameter.</fsummary>
<desc>
- <p>A useful number.</p>
+ <p>Ratio of the circumference of a circle to its diameter.</p>
+ <p>Floating point approximation of mathematical constant pi.</p>
+ </desc>
+ </func>
+
+ <func>
+ <name name="tau" arity="0" since="OTP @OTP-18361@"/>
+ <fsummary>Ratio of the circumference of a circle to its radius.</fsummary>
+ <desc>
+ <p>Ratio of the circumference of a circle to its radius.</p>
+ <p>This constant is equivalent to a full turn when described in radians.</p>
+ <p>The same as <c>2 * pi()</c>.</p>
</desc>
</func>