


Bits error versus g



Bits error versus h



Bits error versus a
Results
if (+ (cbrt (/ (- (sqrt (* (- g h) (+ h g))) g) (* a 2))) (pow (/ (- (- g) (sqrt (* (- g h) (+ h g)))) (* a 2)) 1/3)) < 9.881653958554104e-107Initial program 20.4
Applied simplify20.4
rmApplied *-un-lft-identity20.4
Applied times-frac20.4
Applied cbrt-prod12.1
Taylor expanded around -inf 3.2
if 9.881653958554104e-107 < (+ (cbrt (/ (- (sqrt (* (- g h) (+ h g))) g) (* a 2))) (pow (/ (- (- g) (sqrt (* (- g h) (+ h g)))) (* a 2)) 1/3)) Initial program 37.8
Applied simplify37.8
rmApplied *-un-lft-identity37.8
Applied times-frac37.8
Applied cbrt-prod36.5
Time bar (total: 2.5m)Debug logProfile
herbie shell --seed 2020178
(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))))))))