


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.113788176670897e-108Initial program 10.1
rmApplied add-cube-cbrt10.1
if -9.113788176670897e-108 < (+ (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))))))) < 1.77699508159095e-103Initial program 59.4
rmApplied associate-*l/59.4
Applied cbrt-div41.1
Applied simplify41.1
Taylor expanded around inf 8.1
if 1.77699508159095e-103 < (+ (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.2
rmApplied cbrt-prod41.9
Applied simplify41.9
rmApplied add-sqr-sqrt42.3
Applied simplify42.3
Applied simplify42.3
Time bar (total: 2.3m)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))))))))