


Bits error versus g



Bits error versus h



Bits error versus a
if (- (- g) (sqrt (* (- g h) (+ h g)))) < -1.738823845280941e-157Initial program 42.8
Applied simplify42.8
rmApplied cbrt-div40.3
if -1.738823845280941e-157 < (- (- g) (sqrt (* (- g h) (+ h g)))) Initial program 18.5
Applied simplify18.5
rmApplied cbrt-div11.6
Taylor expanded around -inf 9.4
Applied simplify9.4
Time bar (total: 2.4m)Debug logProfile
herbie shell --seed '#(1070706311 3771791028 4128836681 4194990999 2341756049 504035650)'
(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))))))))