


Bits error versus g



Bits error versus h



Bits error versus a
Results
if (+ (cbrt 0) (* (cbrt (/ 1 (* 2 a))) (cbrt (- (sqrt (* (+ h g) (- g h))) g)))) < -3.123027187196015e-165Initial program 43.1
Applied simplify43.1
rmApplied div-inv43.1
Applied cbrt-prod40.3
Taylor expanded around -inf 40.0
Applied simplify40.0
if -3.123027187196015e-165 < (+ (cbrt 0) (* (cbrt (/ 1 (* 2 a))) (cbrt (- (sqrt (* (+ h g) (- g h))) g)))) < 3.151952907543348e-174Initial program 8.9
Applied simplify8.9
rmApplied cbrt-div2.0
if 3.151952907543348e-174 < (+ (cbrt 0) (* (cbrt (/ 1 (* 2 a))) (cbrt (- (sqrt (* (+ h g) (- g h))) g)))) Initial program 43.5
Applied simplify43.5
rmApplied cbrt-div41.1
Taylor expanded around -inf 40.7
Applied simplify40.7
Time bar (total: 2.2m)Debug logProfile
herbie shell --seed 2018170
(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))))))))