


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.1000773871267674e+287 or -2.4080356090966185e-240 < (* (/ (sqrt (- (sqrt (fma (* 4 a) (- c) (* b b))) b)) 2) (/ (sqrt (- (sqrt (fma (* 4 a) (- c) (* b b))) b)) a)) < 7.731607261485143e-308 or 4.022127775041325e+307 < (* (/ (sqrt (- (sqrt (fma (* 4 a) (- c) (* b b))) b)) 2) (/ (sqrt (- (sqrt (fma (* 4 a) (- c) (* b b))) b)) a)) Initial program 58.4
Applied simplify58.4
rmApplied flip--59.2
Applied simplify39.6
rmApplied *-un-lft-identity39.6
Applied times-frac39.7
Applied simplify39.7
Taylor expanded around 0 32.3
Applied simplify22.6
if -5.1000773871267674e+287 < (* (/ (sqrt (- (sqrt (fma (* 4 a) (- c) (* b b))) b)) 2) (/ (sqrt (- (sqrt (fma (* 4 a) (- c) (* b b))) b)) a)) < -2.4080356090966185e-240 or 7.731607261485143e-308 < (* (/ (sqrt (- (sqrt (fma (* 4 a) (- c) (* b b))) b)) 2) (/ (sqrt (- (sqrt (fma (* 4 a) (- c) (* b b))) b)) a)) < 4.022127775041325e+307Initial 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)))