


Bits error versus a



Bits error versus b



Bits error versus c
if (/ (exp (log (- (sqrt (fma (* 4 a) (- c) (* b b))) b))) (* 2 a)) < -1.4033975884233095e+308 or -2.6609468470109447e-284 < (/ (exp (log (- (sqrt (fma (* 4 a) (- c) (* b b))) b))) (* 2 a)) < 2.076349911779355e-307 or 4.84634994550331e+300 < (/ (exp (log (- (sqrt (fma (* 4 a) (- c) (* b b))) b))) (* 2 a)) Initial program 58.9
Applied simplify58.9
rmApplied flip--59.3
Applied simplify39.2
rmApplied clear-num39.3
Taylor expanded around 0 22.0
Applied simplify21.4
if -1.4033975884233095e+308 < (/ (exp (log (- (sqrt (fma (* 4 a) (- c) (* b b))) b))) (* 2 a)) < -2.6609468470109447e-284 or 2.076349911779355e-307 < (/ (exp (log (- (sqrt (fma (* 4 a) (- c) (* b b))) b))) (* 2 a)) < 4.84634994550331e+300Initial program 2.1
Applied simplify2.1
rmApplied clear-num2.2
Time bar (total: 3.3m)Debug logProfile
herbie shell --seed 2018199 +o rules:numerics
(FPCore (a b c)
:name "Quadratic roots, full range"
(/ (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a)))