



Bits error versus x




Bits error versus y




Bits error versus z




Bits error versus t




Bits error versus a




Bits error versus b




Bits error versus c




Bits error versus i




Bits error versus j
| Original | 12.5 |
|---|---|
| Target | 19.7 |
| Herbie | 9.9 |
if x < -4.0532167146120709e40 or 1.0305982793883869e79 < x Initial program 7.8
rmApplied sub-neg7.8
Applied distribute-lft-in7.8
Simplified8.0
Simplified7.4
if -4.0532167146120709e40 < x < 7.6716773314790099e-193Initial program 15.8
rmApplied sub-neg15.8
Applied distribute-lft-in15.8
Simplified12.8
Simplified10.1
if 7.6716773314790099e-193 < x < 1.0305982793883869e79Initial program 11.7
rmApplied add-cube-cbrt12.0
Simplified12.0
Simplified12.0
rmApplied cbrt-prod12.0
rmApplied sub-neg12.0
Applied distribute-lft-in12.0
Simplified12.0
Simplified11.8
rmApplied associate-*r*12.5
Final simplification9.9
herbie shell --seed 2020180
(FPCore (x y z t a b c i j)
:name "Data.Colour.Matrix:determinant from colour-2.3.3, A"
:precision binary64
:herbie-target
(if (< x -1.469694296777705e-64) (+ (- (* x (- (* y z) (* t a))) (/ (* b (- (pow (* c z) 2.0) (pow (* t i) 2.0))) (+ (* c z) (* t i)))) (* j (- (* c a) (* y i)))) (if (< x 3.2113527362226803e-147) (- (* (- (* b i) (* x a)) t) (- (* z (* c b)) (* j (- (* c a) (* y i))))) (+ (- (* x (- (* y z) (* t a))) (/ (* b (- (pow (* c z) 2.0) (pow (* t i) 2.0))) (+ (* c z) (* t i)))) (* j (- (* c a) (* y i))))))
(+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))) (* j (- (* c a) (* y i)))))