



Bits error versus a




Bits error versus b




Bits error versus c
| Original | 33.9 |
|---|---|
| Comparison | 21.1 |
| Herbie | 5.3 |
if b < -5.275923490878762e+150Initial program 59.0
Applied taylor 12.4
Taylor expanded around -inf 12.4
Applied simplify 0.0
Applied simplify 0.0
if -5.275923490878762e+150 < b < -2.0044130137063892e-290Initial program 8.0
if -2.0044130137063892e-290 < b < 6.193250476192916e+56Initial program 27.5
rmApplied flip-+ 27.6
Applied simplify 15.2
rmApplied *-un-lft-identity 15.2
Applied times-frac 15.2
Applied times-frac 15.2
Applied simplify 15.2
Applied simplify 8.3
if 6.193250476192916e+56 < b Initial program 58.4
rmApplied flip-+ 58.5
Applied simplify 32.0
Applied taylor 16.6
Taylor expanded around inf 16.6
Applied simplify 1.8
Applied simplify 1.8
Total time: 53.4s Debug log
Please report a bug with the following info:
herbie --seed '#(1279840060 3244072482 269118276 1620532026 2011427824 2699460241)'
(FPCore (a b c)
:name "NMSE p42, positive"
:target
(if (< b 0) (/ (+ (- b) (sqrt (- (sqr b) (* 4 (* a c))))) (* 2 a)) (/ c (* a (/ (- (- b) (sqrt (- (sqr b) (* 4 (* a c))))) (* 2 a)))))
(/ (+ (- b) (sqrt (- (sqr b) (* 4 (* a c))))) (* 2 a)))