


Bits error versus g



Bits error versus h



Bits error versus a
if (+ (cbrt 0) (cbrt (/ (- (- g) (sqrt (* (+ h g) (- g h)))) (* a 2)))) < -3.536743946833407e-98Initial program 43.5
rmApplied add-cube-cbrt43.6
if -3.536743946833407e-98 < (+ (cbrt 0) (cbrt (/ (- (- g) (sqrt (* (+ h g) (- g h)))) (* a 2)))) < 3.4522646468705696e-102Initial program 14.3
rmApplied associate-*l/14.3
Applied cbrt-div7.0
Applied simplify7.0
Taylor expanded around -inf 3.2
Applied simplify3.2
if 3.4522646468705696e-102 < (+ (cbrt 0) (cbrt (/ (- (- g) (sqrt (* (+ h g) (- g h)))) (* a 2)))) Initial program 43.2
rmApplied add-exp-log43.3
Time bar (total: 2.4m)Debug logProfile
herbie shell --seed '#(1070960995 739739648 2531964651 3069671617 351857262 3877178482)' +o rules:numerics
(FPCore (g h a)
:name "2-ancestry mixing, positive discriminant"
(+ (cbrt (* (/ 1 (* 2 a)) (+ (- g) (sqrt (- (* g g) (* h h)))))) (cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h))))))))