


Bits error versus g



Bits error versus h



Bits error versus a
if (+ (cbrt 0) (cbrt (/ (- (- g) (sqrt (* (+ h g) (- g h)))) (* a 2)))) < -2.624100327056982e-93 or 4.448362277011533e-99 < (+ (cbrt 0) (cbrt (/ (- (- g) (sqrt (* (+ h g) (- g h)))) (* a 2)))) Initial program 43.6
rmApplied flip-+43.6
Applied associate-*r/43.7
Applied cbrt-div43.7
Applied simplify43.4
if -2.624100327056982e-93 < (+ (cbrt 0) (cbrt (/ (- (- g) (sqrt (* (+ h g) (- g h)))) (* a 2)))) < 4.448362277011533e-99Initial program 14.3
rmApplied associate-*l/14.3
Applied cbrt-div7.8
Applied simplify7.8
Taylor expanded around -inf 3.8
Applied simplify3.8
Time bar (total: 2.1m)Debug logProfile
herbie shell --seed '#(1072361757 3390613284 2339397988 1175251238 145061547 3101881848)'
(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))))))))