


Bits error versus g



Bits error versus h



Bits error versus a
if (+ (cbrt (* (/ 1 (* 2 a)) (+ (- g) (sqrt (- (* g g) (* h h)))))) (* (sqrt (cbrt (/ (- (- g) (sqrt (* (- g h) (+ g h)))) (* a 2)))) (sqrt (cbrt (/ (- (- g) (sqrt (* (- g h) (+ g h)))) (* a 2)))))) < 1.0237616115471876e-81Initial program 19.5
rmApplied associate-*l/19.4
Applied cbrt-div11.7
Applied simplify11.7
Taylor expanded around -inf 6.2
Applied simplify6.2
if 1.0237616115471876e-81 < (+ (cbrt (* (/ 1 (* 2 a)) (+ (- g) (sqrt (- (* g g) (* h h)))))) (* (sqrt (cbrt (/ (- (- g) (sqrt (* (- g h) (+ g h)))) (* a 2)))) (sqrt (cbrt (/ (- (- g) (sqrt (* (- g h) (+ g h)))) (* a 2)))))) Initial program 38.6
rmApplied associate-*l/38.6
Applied cbrt-div37.2
Applied simplify37.2
Time bar (total: 2.4m)Debug logProfile
herbie shell --seed '#(1072361757 3390613284 2339397988 1175251238 145061547 3101881848)'
(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))))))))