


Bits error versus g



Bits error versus h



Bits error versus a
if (+ (cbrt (/ (+ (- g) g) (+ a a))) (cbrt (/ (- (- g) (sqrt (* (+ h g) (- g h)))) (+ a a)))) < -1.0202262928310038e-74Initial program 44.3
rmApplied cbrt-prod44.3
rmApplied cbrt-prod42.4
rmApplied add-cube-cbrt42.4
if -1.0202262928310038e-74 < (+ (cbrt (/ (+ (- g) g) (+ a a))) (cbrt (/ (- (- g) (sqrt (* (+ h g) (- g h)))) (+ a a)))) < 0.0Initial program 14.3
rmApplied cbrt-prod8.1
Taylor expanded around -inf 5.2
Applied simplify5.2
if 0.0 < (+ (cbrt (/ (+ (- g) g) (+ a a))) (cbrt (/ (- (- g) (sqrt (* (+ h g) (- g h)))) (+ a a)))) Initial program 43.0
rmApplied cbrt-prod43.0
rmApplied cbrt-prod41.2
rmApplied add-cube-cbrt41.3
Applied sqrt-prod41.3
Applied simplify41.3
Time bar (total: 1.2m)Debug logProfile
herbie shell --seed '#(1070131407 1246090267 3027482374 2150728003 2026520792 2347815650)' +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))))))))