File 0127-stdlib-Improve-documentation-of-math-pi-0.patch of Package erlang

From 708fc7fffe20f2107748cd9af1ad237fd7f87b70 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Niemier?= <lukasz@niemier.pl>
Date: Tue, 6 Dec 2022 14:20:31 +0100
Subject: [PATCH 1/2] stdlib: Improve documentation of math:pi/0

---
 lib/stdlib/doc/src/math.xml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lib/stdlib/doc/src/math.xml b/lib/stdlib/doc/src/math.xml
index 59a05a4e5a..a3276655be 100644
--- a/lib/stdlib/doc/src/math.xml
+++ b/lib/stdlib/doc/src/math.xml
@@ -102,9 +102,10 @@ 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>
 
-- 
2.35.3

openSUSE Build Service is sponsored by