
Results
Herbie found 3 alternatives:
| Alternative | Accuracy | Speedup |
|---|
Initial program 100.0%
Final simplification100.0%
if x < -6.0000000000000002e-84 or 1.29999999999999999e-7 < x < 1.6500000000000001e39 or 3.4499999999999999e59 < x Initial program 100.0%
Taylor expanded in x around inf 78.7%
if -6.0000000000000002e-84 < x < 1.29999999999999999e-7 or 1.6500000000000001e39 < x < 3.4499999999999999e59Initial program 100.0%
Taylor expanded in x around 0 77.4%
Final simplification78.2%
Initial program 100.0%
Taylor expanded in x around inf 57.8%
Final simplification57.8%
herbie shell --seed 2023167
(FPCore (x y)
:name "Data.Colour.CIE:cieLAB from colour-2.3.3, D"
:precision binary64
(- x (/ y 200.0)))