


Bits error versus g



Bits error versus h



Bits error versus a
if (+ (* (cbrt (/ 1 (* 2 a))) (cbrt (- (* (sqrt (+ g h)) (sqrt (- g h))) g))) (/ (cbrt (- (- g) (sqrt (* (- g h) (+ g h))))) (cbrt (* 2 a)))) < +inf.0Initial program 35.1
rmApplied cbrt-prod34.9
Applied simplify34.9
rmApplied cbrt-prod31.5
rmApplied flip--31.4
Applied simplify30.4
if +inf.0 < (+ (* (cbrt (/ 1 (* 2 a))) (cbrt (- (* (sqrt (+ g h)) (sqrt (- g h))) g))) (/ (cbrt (- (- g) (sqrt (* (- g h) (+ g h))))) (cbrt (* 2 a)))) Initial program 35.0
rmApplied cbrt-prod31.5
Applied simplify31.5
rmApplied flip--31.3
Applied simplify30.6
Applied simplify30.6
Time bar (total: 2.1m)Debug logProfile
herbie shell --seed '#(1070386091 2509006183 1430610344 1025408621 36622005 1425925650)' +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))))))))