


Bits error versus g



Bits error versus h



Bits error versus a
if (+ (cbrt (/ (- (* (* (cbrt (sqrt (* (+ g h) (- g h)))) (cbrt (sqrt (* (+ g h) (- g h))))) (cbrt (sqrt (* (+ g h) (- g h))))) g) (* a 2))) (cbrt (/ (- (- g) (sqrt (* (+ g h) (- g h)))) (* a 2)))) < -4.339593865332612e-107Initial program 9.6
Applied simplify9.6
rmApplied cbrt-div6.7
if -4.339593865332612e-107 < (+ (cbrt (/ (- (* (* (cbrt (sqrt (* (+ g h) (- g h)))) (cbrt (sqrt (* (+ g h) (- g h))))) (cbrt (sqrt (* (+ g h) (- g h))))) g) (* a 2))) (cbrt (/ (- (- g) (sqrt (* (+ g h) (- g h)))) (* a 2)))) < 1.5669650653888275e-107Initial program 60.6
Applied simplify60.6
rmApplied cbrt-div41.5
Taylor expanded around inf 7.5
if 1.5669650653888275e-107 < (+ (cbrt (/ (- (* (* (cbrt (sqrt (* (+ g h) (- g h)))) (cbrt (sqrt (* (+ g h) (- g h))))) (cbrt (sqrt (* (+ g h) (- g h))))) g) (* a 2))) (cbrt (/ (- (- g) (sqrt (* (+ g h) (- g h)))) (* a 2)))) < 2.8912581826610646e+97Initial program 6.0
Applied simplify6.0
rmApplied *-un-lft-identity6.0
Applied times-frac6.0
Applied cbrt-prod6.0
if 2.8912581826610646e+97 < (+ (cbrt (/ (- (* (* (cbrt (sqrt (* (+ g h) (- g h)))) (cbrt (sqrt (* (+ g h) (- g h))))) (cbrt (sqrt (* (+ g h) (- g h))))) g) (* a 2))) (cbrt (/ (- (- g) (sqrt (* (+ g h) (- g h)))) (* a 2)))) Initial program 62.1
Applied simplify62.1
rmApplied cbrt-div60.1
Taylor expanded around inf 60.3
Time bar (total: 2.2m)Debug logProfile
herbie shell --seed '#(1072107073 2127697367 3936270018 2300570620 2134894798 4023771849)'
(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))))))))