Skip to content

Commit b359293

Browse files
committed
Update all Herbie doc outputs to match current Herbie
1 parent 82d1c99 commit b359293

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

www/doc/2.2/using-cli.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ <h2 id="batch">Batch processing FPCores</h2>
6161
mode is intended for use by scripts.</p>
6262

6363
<pre class="shell">racket -l herbie improve bench/tutorial.fpcore out.fpcore
64-
Starting Herbie 2.2 with seed 1551571787...
65-
Warning: 24.7% of points produce a very large (infinite) output. You may want to add a precondition.
66-
See <a href="https://herbie.uwplse.org/doc/2.0/faq.html#inf-points">&lt;https://herbie.uwplse.org/doc/2.0/faq.html#inf-points&gt;</a> for more.</pre>
64+
Starting Herbie 2.2 with seed 1139794558...
65+
Warning: 75.2% of points produce a very large (infinite) output. You may want to add a precondition.
66+
See &lt;<a href="https://herbie.uwplse.org/doc/2.0/faq.html#inf-points">https://herbie.uwplse.org/doc/2.0/faq.html#inf-points</a>&gt; for more.</pre>
6767

6868
<p>The output file <code>out.fpcore</code> contains more accurate
6969
versions of each program:</p>
7070

71-
<pre>;; seed: 1551571787
71+
<pre>;; seed: 1139794558
7272

7373
(FPCore (x)
7474
:name "Cancel like terms"
@@ -78,7 +78,7 @@ <h2 id="batch">Batch processing FPCores</h2>
7878
(FPCore (x)
7979
:name "Expanding a square"
8080
<var>...</var>
81-
(* x (- x -2.0)))
81+
(fma x x (+ x x)))
8282

8383
(FPCore (x y z)
8484
:name "Commute and associate"

www/doc/2.2/using-web.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,10 @@ <h2 id="batch">Batch report generation</h2>
7070
<pre class="shell">racket -l herbie report bench/tutorial.fpcore output/
7171
Starting Herbie 2.2 with seed 770126425...
7272
Warning: 25.0% of points produce a very large (infinite) output. You may want to add a precondition.
73-
See <a href="faq.html#inf-points">https://herbie.uwplse.org/doc/latest/faq.html#inf-points</a> for
74-
more.
75-
1/3 [ 0.703s] 29→ 0 Expanding a square
76-
2/3 [ 1.611s] 0→ 0 Commute and associate
77-
3/3 [ 0.353s] 30→ 0 Cancel like terms</pre>
73+
See &lt;<a href="faq.html#inf-points">https://herbie.uwplse.org/doc/latest/faq.html#inf-points</a>&gt; for more.
74+
1/3 [ 0.8s] 55% → 100% Expanding a square
75+
2/3 [ 0.8s] 100% → 100% Commute and associate
76+
3/3 [ 0.9s] 53% → 100% Cancel like terms</pre>
7877

7978
<p>This command generates a report from the input expressions
8079
in <code>bench/tutorial.fpcore</code> and saves the report in the

0 commit comments

Comments
 (0)