


Bits error versus a



Bits error versus b



Bits error versus c
if (* (/ (sqrt (- (sqrt (fma (* 4 a) (- c) (* b b))) b)) 2) (/ (sqrt (- (sqrt (fma (* 4 a) (- c) (* b b))) b)) a)) < -5.467006012511375e+301 or -2.345332273158681e-262 < (* (/ (sqrt (- (sqrt (fma (* 4 a) (- c) (* b b))) b)) 2) (/ (sqrt (- (sqrt (fma (* 4 a) (- c) (* b b))) b)) a)) < 6.687484398042843e-277 or 6.905200484599866e+297 < (* (/ (sqrt (- (sqrt (fma (* 4 a) (- c) (* b b))) b)) 2) (/ (sqrt (- (sqrt (fma (* 4 a) (- c) (* b b))) b)) a)) Initial program 58.8
Applied simplify58.8
rmApplied flip--59.4
Applied simplify39.8
rmApplied *-un-lft-identity39.8
Applied times-frac39.8
Applied simplify39.8
Taylor expanded around 0 32.1
Applied simplify22.4
if -5.467006012511375e+301 < (* (/ (sqrt (- (sqrt (fma (* 4 a) (- c) (* b b))) b)) 2) (/ (sqrt (- (sqrt (fma (* 4 a) (- c) (* b b))) b)) a)) < -2.345332273158681e-262 or 6.687484398042843e-277 < (* (/ (sqrt (- (sqrt (fma (* 4 a) (- c) (* b b))) b)) 2) (/ (sqrt (- (sqrt (fma (* 4 a) (- c) (* b b))) b)) a)) < 6.905200484599866e+297Initial program 2.2
Applied simplify2.2
Time bar (total: 2.6m)Debug logProfile
herbie shell --seed 2018214 +o rules:numerics
(FPCore (a b c)
:name "Quadratic roots, full range"
(/ (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a)))