


Bits error versus g



Bits error versus h



Bits error versus a
if (+ (cbrt (* (/ 1 (* 2 a)) (+ (- g) (* (* (cbrt (sqrt (- (* g g) (* h h)))) (cbrt (sqrt (- (* g g) (* h h))))) (cbrt (sqrt (- (* g g) (* h h)))))))) (cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h))))))) < -9.332519092910998e-105Initial program 9.9
rmApplied add-cube-cbrt10.0
if -9.332519092910998e-105 < (+ (cbrt (* (/ 1 (* 2 a)) (+ (- g) (* (* (cbrt (sqrt (- (* g g) (* h h)))) (cbrt (sqrt (- (* g g) (* h h))))) (cbrt (sqrt (- (* g g) (* h h)))))))) (cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h))))))) < 7.278571854196531e-100Initial program 55.4
rmApplied associate-*l/55.4
Applied cbrt-div38.5
Applied simplify38.5
Taylor expanded around inf 10.4
if 7.278571854196531e-100 < (+ (cbrt (* (/ 1 (* 2 a)) (+ (- g) (* (* (cbrt (sqrt (- (* g g) (* h h)))) (cbrt (sqrt (- (* g g) (* h h))))) (cbrt (sqrt (- (* g g) (* h h)))))))) (cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h))))))) Initial program 43.3
rmApplied cbrt-prod42.0
rmApplied add-sqr-sqrt42.4
Applied simplify42.4
Applied simplify42.4
Time bar (total: 2.5m)Debug logProfile
herbie shell --seed '#(1071373924 2949776965 1885069702 3247780810 90874544 2263903749)' +o rules:numerics
(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))))))))