


Bits error versus g



Bits error versus h



Bits error versus a
if (+ (* (cbrt (/ 1 (* 2 a))) (cbrt (- (sqrt (- (* g g) (* h h))) g))) (/ (cbrt (* h h)) (cbrt (* (* 2 a) (+ (- g) (sqrt (- (* g g) (* h h)))))))) < -1.5670095674560527e+146 or 8.327873752318306e+130 < (+ (* (cbrt (/ 1 (* 2 a))) (cbrt (- (sqrt (- (* g g) (* h h))) g))) (/ (cbrt (* h h)) (cbrt (* (* 2 a) (+ (- g) (sqrt (- (* g g) (* h h)))))))) Initial program 43.5
rmApplied associate-*l/43.5
Applied cbrt-div41.2
Applied simplify41.2
if -1.5670095674560527e+146 < (+ (* (cbrt (/ 1 (* 2 a))) (cbrt (- (sqrt (- (* g g) (* h h))) g))) (/ (cbrt (* h h)) (cbrt (* (* 2 a) (+ (- g) (sqrt (- (* g g) (* h h)))))))) < 8.327873752318306e+130Initial program 16.2
rmApplied cbrt-prod9.8
Applied simplify9.8
Taylor expanded around -inf 8.1
Applied simplify8.1
Time bar (total: 2.6m)Debug logProfile
herbie shell --seed 2018195 +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))))))))