



Bits error versus x




Bits error versus y




Bits error versus z




Bits error versus t




Bits error versus a




Bits error versus b
| Original | 20.4 |
|---|---|
| Target | 17.9 |
| Herbie | 15.1 |
if (- y (/ (* z t) 3.0)) or 4.4715459573037013e+303 < (- y (/ (* z t) 3.0)) Initial program 61.1
Taylor expanded around inf 25.7
Applied simplify25.7
if (- y (/ (* z t) 3.0)) < 4.4715459573037013e+303Initial program 14.1
rmApplied cos-diff13.5
rmApplied add-cube-cbrt13.5
rmApplied add-cube-cbrt13.5
rmApplied add-cube-cbrt13.5
pow expressions.Time bar (total: 9.0m)Debug log
herbie shell --seed '#(1567391828 2030694642 2833800258 828025724 3004380912 3532991858)' +o setup:early-exit +o reduce:binary-search
(FPCore (x y z t a b)
:name "Diagrams.Solve.Polynomial:cubForm from diagrams-solve-0.1, K"
:herbie-target
(if (< z -1.3793337487235141e+129) (- (* (* 2.0 (sqrt x)) (cos (- (/ 1 y) (/ (/ 0.3333333333333333 z) t)))) (/ (/ a 3.0) b)) (if (< z 3.516290613555987e+106) (- (* (* (sqrt x) 2.0) (cos (- y (* (/ t 3.0) z)))) (/ (/ a 3.0) b)) (- (* (cos (- y (/ (/ 0.3333333333333333 z) t))) (* 2.0 (sqrt x))) (/ (/ a b) 3.0))))
(- (* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0)))) (/ a (* b 3.0))))