


Bits error versus a



Bits error versus b



Bits error versus c
if (if (>= b 0) (/ (/ (* (* a c) 4) (- (sqrt (fma (- c) (* a 4) (* b b))) b)) (* 2 a)) (/ (* 2 c) (- (sqrt (fma (* a 4) (- c) (* b b))) b))) < -5.17879493621754e-310Initial program 1.6
Applied simplify1.6
rmApplied add-cube-cbrt2.0
if -5.17879493621754e-310 < (if (>= b 0) (/ (/ (* (* a c) 4) (- (sqrt (fma (- c) (* a 4) (* b b))) b)) (* 2 a)) (/ (* 2 c) (- (sqrt (fma (* a 4) (- c) (* b b))) b))) < 2.4871824846715414e-290Initial program 43.8
Applied simplify43.8
Taylor expanded around inf 27.6
Applied simplify27.6
Taylor expanded around 0 45.5
Applied simplify45.5
if 2.4871824846715414e-290 < (if (>= b 0) (/ (/ (* (* a c) 4) (- (sqrt (fma (- c) (* a 4) (* b b))) b)) (* 2 a)) (/ (* 2 c) (- (sqrt (fma (* a 4) (- c) (* b b))) b))) < 3.317154977706445e+282Initial program 1.9
Applied simplify1.9
rmApplied flip--2.4
Applied simplify2.4
Applied simplify2.4
if 3.317154977706445e+282 < (if (>= b 0) (/ (/ (* (* a c) 4) (- (sqrt (fma (- c) (* a 4) (* b b))) b)) (* 2 a)) (/ (* 2 c) (- (sqrt (fma (* a 4) (- c) (* b b))) b))) Initial program 21.7
Applied simplify21.7
Taylor expanded around 0 15.0
Taylor expanded around 0 15.2
Time bar (total: 50.1s)Debug logProfile
herbie shell --seed 2018167 +o rules:numerics
(FPCore (a b c)
:name "jeff quadratic root 1"
(if (>= b 0) (/ (- (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a)) (/ (* 2 c) (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))))))