


Bits error versus g



Bits error versus h



Bits error versus a
if (+ (cbrt 0) (cbrt (/ (- (- g) (sqrt (* (+ h g) (- g h)))) (* a 2)))) < -8.035119497896644e-107 or 0.0 < (+ (cbrt 0) (cbrt (/ (- (- g) (sqrt (* (+ h g) (- g h)))) (* a 2)))) Initial program 43.3
rmApplied cbrt-prod41.5
if -8.035119497896644e-107 < (+ (cbrt 0) (cbrt (/ (- (- g) (sqrt (* (+ h g) (- g h)))) (* a 2)))) < 0.0Initial program 14.0
rmApplied cbrt-prod6.9
Applied simplify6.9
Taylor expanded around -inf 2.6
Applied simplify2.6
Time bar (total: 2.0m)Debug logProfile
herbie shell --seed '#(1071373924 2949776965 1885069702 3247780810 90874544 2263903749)'
(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))))))))