


Bits error versus g



Bits error versus h



Bits error versus a
Results
if (+ (cbrt 0) (cbrt (/ (- (- g) (sqrt (* (+ h g) (- g h)))) (* a 2)))) < -7.93602115200677e-309 or 4.5912281703564e-310 < (+ (cbrt 0) (cbrt (/ (- (- g) (sqrt (* (+ h g) (- g h)))) (* a 2)))) Initial program 42.8
rmApplied cbrt-prod41.3
if -7.93602115200677e-309 < (+ (cbrt 0) (cbrt (/ (- (- g) (sqrt (* (+ h g) (- g h)))) (* a 2)))) < 4.5912281703564e-310Initial program 14.4
rmApplied associate-*l/14.4
Applied cbrt-div6.8
Applied simplify6.8
Taylor expanded around -inf 2.5
Applied simplify2.4
Time bar (total: 2.0m)Debug logProfile
herbie shell --seed 2018208
(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))))))))