In example of random_zipfian,  the explanation is "which itself(2) is
produced (3/2)*2.5 = 2.76 times more frequently than 3".
"(3/2)*2.5 = 2.76" is wrong. The correct expression is "(3/2)**2.5 = 2.76".

Indeed. Attached patch to fix this typo.

--
Fabien
diff --git a/doc/src/sgml/ref/pgbench.sgml b/doc/src/sgml/ref/pgbench.sgml
index ef22a484e7..e3b73a4cf5 100644
--- a/doc/src/sgml/ref/pgbench.sgml
+++ b/doc/src/sgml/ref/pgbench.sgml
@@ -1561,7 +1561,7 @@ f(x) = PHI(2.0 * parameter * (x - mu) / (max - min + 1)) /
       For example, <literal>random_zipfian(1, ..., 2.5)</literal> produces
       the value <literal>1</literal> about <literal>(2/1)**2.5 =
       5.66</literal> times more frequently than <literal>2</literal>, which
-      itself is produced <literal>(3/2)*2.5 = 2.76</literal> times more
+      itself is produced <literal>(3/2)**2.5 = 2.76</literal> times more
       frequently than <literal>3</literal>, and so on.
      </para>
      <para>

Reply via email to