


Bits error versus x



Bits error versus y



Bits error versus z



Bits error versus t
Results
if x < -6.527818448277319e-113Initial program 15.2
Simplified6.2
Taylor expanded around -inf 6.0
rmApplied div-inv6.0
rmApplied pow16.0
Applied pow16.0
Applied pow-prod-down6.0
Simplified6.0
if -6.527818448277319e-113 < x < 3.458399982184495e-126Initial program 11.9
Simplified5.7
Taylor expanded around -inf 7.0
rmApplied div-inv7.1
Taylor expanded around inf 7.0
if 3.458399982184495e-126 < x Initial program 15.1
Simplified5.1
Final simplification6.1
herbie shell --seed 2019004
(FPCore (x y z t)
:name "Graphics.Rendering.Chart.Backend.Diagrams:calcFontMetrics from Chart-diagrams-1.5.1"
(* x (/ (* (/ y z) t) t)))
Time bar (total: 3.7s)Debug log
1 calls. Slowest were:
| 214.0ms | (* x (/ (* (/ y z) t) t)) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 0.8b
Found 1 expressions with local error:
| 5.9b | (* y (/ x z)) |
1 calls. Slowest were:
| 2.0ms | (* y (/ x z)) |
1 calls. Slowest were:
| 17.0ms | (* y (/ x z)) |
7 calls. Slowest were:
| 5.0ms | (/ (* x y) z) |
| 5.0ms | (/ (* x y) z) |
| 5.0ms | (/ (* x y) z) |
6 alts after pruning (5 fresh and 1 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 6.6b | (/ (* x y) z) |
1 calls. Slowest were:
| 3.0ms | (/ (* x y) z) |
1 calls. Slowest were:
| 21.0ms | (/ (* x y) z) |
3 calls. Slowest were:
| 13.0ms | (/ (* x y) z) |
| 9.0ms | (/ (* x y) z) |
| 9.0ms | (/ (* x y) z) |
5 alts after pruning (4 fresh and 1 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 6.5b | (/ x (/ z y)) |
1 calls. Slowest were:
| 0.0ms | (/ x (/ z y)) |
1 calls. Slowest were:
| 14.0ms | (/ x (/ z y)) |
7 calls. Slowest were:
| 10.0ms | (/ (* x y) z) |
| 10.0ms | (/ (* x y) z) |
| 10.0ms | (/ (* x y) z) |
6 alts after pruning (4 fresh and 2 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 6.7b | (* (* x y) (/ 1 z)) |
1 calls. Slowest were:
| 3.0ms | (* (* x y) (/ 1 z)) |
1 calls. Slowest were:
| 13.0ms | (* (* x y) (/ 1 z)) |
10 calls. Slowest were:
| 400.0ms | (* (* (* (* x y) (* x y)) (* x y)) (* (* (/ 1 z) (/ 1 z)) (/ 1 z))) |
| 45.0ms | (+ (log (* x y)) (log (/ 1 z))) |
| 15.0ms | (* (* x y) (/ 1 z)) |
6 alts after pruning (3 fresh and 3 done)
Merged error: 0b
-7.1% (6.1b remaining)
Error of 6.1b against oracle of 0.0b and baseline of 5.7b