
Results
Herbie found 10 alternatives:
| Alternative | Accuracy | Speedup |
|---|
Initial program 98.4%
Final simplification98.4%
if t < -8.8000000000000003e58 or 2.6999999999999999e-14 < t Initial program 99.9%
Taylor expanded in t around inf 80.5%
if -8.8000000000000003e58 < t < -8e-82 or 9.9999999999999993e-78 < t < 2.6999999999999999e-14Initial program 99.8%
Taylor expanded in z around inf 78.6%
Taylor expanded in a around 0 68.2%
+-commutative68.2%
mul-1-neg68.2%
unsub-neg68.2%
*-commutative68.2%
associate-/l*66.4%
Simplified66.4%
div-inv66.5%
clear-num68.0%
Applied egg-rr68.0%
if -8e-82 < t < 9.9999999999999993e-78Initial program 95.6%
Taylor expanded in t around 0 86.4%
associate-/l*86.3%
Simplified86.3%
associate-/r/87.4%
Applied egg-rr87.4%
Final simplification80.4%
if t < -8.9999999999999996e58 or 5.9999999999999997e-14 < t Initial program 99.9%
Taylor expanded in t around inf 80.5%
if -8.9999999999999996e58 < t < -4.84999999999999978e-79Initial program 99.8%
Taylor expanded in z around inf 75.2%
Taylor expanded in a around 0 64.1%
+-commutative64.1%
mul-1-neg64.1%
unsub-neg64.1%
*-commutative64.1%
associate-/l*61.6%
Simplified61.6%
associate-/r/64.2%
Applied egg-rr64.2%
if -4.84999999999999978e-79 < t < 1.9500000000000001e-78Initial program 95.6%
Taylor expanded in t around 0 86.4%
associate-/l*86.3%
Simplified86.3%
associate-/r/87.4%
Applied egg-rr87.4%
if 1.9500000000000001e-78 < t < 5.9999999999999997e-14Initial program 99.7%
Taylor expanded in z around inf 87.2%
Taylor expanded in a around 0 78.4%
+-commutative78.4%
mul-1-neg78.4%
unsub-neg78.4%
*-commutative78.4%
associate-/l*78.3%
Simplified78.3%
div-inv78.4%
clear-num78.4%
Applied egg-rr78.4%
Final simplification80.5%
if t < -1.04999999999999992e59 or 6.29999999999999966e-14 < t Initial program 99.9%
Taylor expanded in t around inf 80.5%
if -1.04999999999999992e59 < t < 6.29999999999999966e-14Initial program 97.1%
Taylor expanded in z around inf 87.3%
Final simplification84.1%
if t < -1.16000000000000001e59 or 5.3999999999999997e-14 < t Initial program 99.9%
Taylor expanded in t around inf 80.5%
if -1.16000000000000001e59 < t < 5.3999999999999997e-14Initial program 97.1%
associate-*r/97.7%
Simplified97.7%
associate-/l*97.1%
associate-/r/97.6%
Applied egg-rr97.6%
Taylor expanded in z around inf 87.9%
associate-*l/87.8%
*-commutative87.8%
Simplified87.8%
Final simplification84.4%
if z < -4.19999999999999982e57Initial program 98.0%
Taylor expanded in z around inf 93.2%
if -4.19999999999999982e57 < z < 3.10000000000000012e-35Initial program 99.3%
Taylor expanded in z around 0 80.8%
+-commutative80.8%
mul-1-neg80.8%
unsub-neg80.8%
associate-/l*93.9%
div-sub93.9%
*-inverses93.9%
Simplified93.9%
if 3.10000000000000012e-35 < z Initial program 96.9%
associate-*r/87.7%
Simplified87.7%
associate-/l*97.0%
associate-/r/98.3%
Applied egg-rr98.3%
Taylor expanded in z around inf 82.9%
associate-*l/87.7%
*-commutative87.7%
Simplified87.7%
Final simplification92.3%
if t < -1.8500000000000001e-66 or 2.90000000000000005e-37 < t Initial program 99.9%
Taylor expanded in t around inf 72.0%
if -1.8500000000000001e-66 < t < 2.90000000000000005e-37Initial program 96.0%
Taylor expanded in t around 0 81.5%
Final simplification75.6%
if t < -5.80000000000000023e-66 or 9.00000000000000018e-38 < t Initial program 99.9%
Taylor expanded in t around inf 72.0%
if -5.80000000000000023e-66 < t < 9.00000000000000018e-38Initial program 96.0%
Taylor expanded in t around 0 81.6%
associate-/l*81.5%
Simplified81.5%
associate-/r/82.5%
Applied egg-rr82.5%
Final simplification75.9%
if t < -9.00000000000000061e-129 or 8.20000000000000028e-41 < t Initial program 99.9%
Taylor expanded in t around inf 69.1%
if -9.00000000000000061e-129 < t < 8.20000000000000028e-41Initial program 95.6%
Taylor expanded in x around inf 63.8%
Final simplification67.3%
Initial program 98.4%
Taylor expanded in x around inf 48.6%
Final simplification48.6%
herbie shell --seed 2023167
(FPCore (x y z t a)
:name "Graphics.Rendering.Plot.Render.Plot.Axis:renderAxisLine from plot-0.2.3.4, B"
:precision binary64
:herbie-target
(if (< y -8.508084860551241e-17) (+ x (* y (/ (- z t) (- a t)))) (if (< y 2.894426862792089e-49) (+ x (* (* y (- z t)) (/ 1.0 (- a t)))) (+ x (* y (/ (- z t) (- a t))))))
(+ x (* y (/ (- z t) (- a t)))))