


Bits error versus g



Bits error versus h



Bits error versus a
Results
if (+ (cbrt 0) (cbrt (/ (- (- g) (sqrt (* (+ h g) (- g h)))) (* a 2)))) < -2.4578160794318868e-89 or 0.0 < (+ (cbrt 0) (cbrt (/ (- (- g) (sqrt (* (+ h g) (- g h)))) (* a 2)))) Initial program 43.5
rmApplied cbrt-prod41.7
rmApplied add-sqr-sqrt41.7
Applied sqrt-prod41.7
if -2.4578160794318868e-89 < (+ (cbrt 0) (cbrt (/ (- (- g) (sqrt (* (+ h g) (- g h)))) (* a 2)))) < 0.0Initial program 14.7
rmApplied associate-*l/14.7
Applied cbrt-div7.9
Applied simplify7.9
Taylor expanded around -inf 3.8
Applied simplify3.8
Time bar (total: 2.3m)Debug logProfile
herbie shell --seed '#(1072936661 1621281212 3440817831 3219514234 460296804 1258167384)'
(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))))))))