


Bits error versus x



Bits error versus y



Bits error versus z



Bits error versus t
Results
if (/ (* (/ y z) t) t) < -5.995228819261882e-116 or -0.0 < (/ (* (/ y z) t) t) < 1.2042578784291804e+237Initial program 6.5
Simplified8.9
Taylor expanded around inf 8.0
rmApplied associate-/l*2.4
if -5.995228819261882e-116 < (/ (* (/ y z) t) t) < -0.0Initial program 20.5
Simplified1.7
if 1.2042578784291804e+237 < (/ (* (/ y z) t) t) Initial program 51.0
Simplified2.4
Taylor expanded around inf 2.4
Final simplification2.2
herbie shell --seed 2019005
(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: 4.0s)Debug log
1 calls. Slowest were:
| 325.0ms | (* x (/ (* (/ y z) t) t)) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 0.7b
Found 1 expressions with local error:
| 4.8b | (* y (/ x z)) |
1 calls. Slowest were:
| 1.0ms | (* y (/ x z)) |
1 calls. Slowest were:
| 20.0ms | (* y (/ x z)) |
7 calls. Slowest were:
| 16.0ms | (/ (* x y) z) |
| 10.0ms | (/ (* x y) z) |
| 5.0ms | (/ (* x y) z) |
8 alts after pruning (7 fresh and 1 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 4.2b | (/ (* x y) z) |
1 calls. Slowest were:
| 2.0ms | (/ (* x y) z) |
1 calls. Slowest were:
| 13.0ms | (/ (* x y) z) |
3 calls. Slowest were:
| 5.0ms | (/ (* x y) z) |
| 5.0ms | (/ (* x y) z) |
| 5.0ms | (/ (* x y) z) |
7 alts after pruning (5 fresh and 2 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 4.3b | (* (* y x) (/ 1 z)) |
1 calls. Slowest were:
| 4.0ms | (* (* y x) (/ 1 z)) |
1 calls. Slowest were:
| 13.0ms | (* (* y x) (/ 1 z)) |
10 calls. Slowest were:
| 470.0ms | (* (* (* (* y x) (* y x)) (* y x)) (* (* (/ 1 z) (/ 1 z)) (/ 1 z))) |
| 54.0ms | (+ (log (* y x)) (log (/ 1 z))) |
| 17.0ms | (* (* y x) (/ 1 z)) |
8 alts after pruning (6 fresh and 2 done)
Merged error: 0.0b
Found 2 expressions with local error:
| 4.8b | (* y (* x (/ 1 z))) |
| 0.2b | (* x (/ 1 z)) |
2 calls. Slowest were:
| 3.0ms | (* y (* x (/ 1 z))) |
| 1.0ms | (* x (/ 1 z)) |
2 calls. Slowest were:
| 19.0ms | (* y (* x (/ 1 z))) |
| 9.0ms | (* x (/ 1 z)) |
11 calls. Slowest were:
| 10.0ms | (/ (* x y) z) |
| 10.0ms | (/ (* x y) z) |
| 10.0ms | (/ (* x y) z) |
8 alts after pruning (5 fresh and 3 done)
Merged error: 0.0b
62.4% (2.2b remaining)
Error of 2.2b against oracle of 0.0b and baseline of 5.7b