


Bits error versus x



Bits error versus eps
if (* -2 (* (* (cbrt (* (sin (/ eps 2)) (sin (/ (+ x (+ eps x)) 2)))) (cbrt (* (sin (/ eps 2)) (sin (/ (+ x (+ eps x)) 2))))) (cbrt (* (sin (/ eps 2)) (* (* (cbrt (sin (/ (+ x (+ eps x)) 2))) (cbrt (sin (/ (+ x (+ eps x)) 2)))) (cbrt (sin (/ (+ x (+ eps x)) 2)))))))) < -0.00802840710461251 or 0.017558590530484378 < (* -2 (* (* (cbrt (* (sin (/ eps 2)) (sin (/ (+ x (+ eps x)) 2)))) (cbrt (* (sin (/ eps 2)) (sin (/ (+ x (+ eps x)) 2))))) (cbrt (* (sin (/ eps 2)) (* (* (cbrt (sin (/ (+ x (+ eps x)) 2))) (cbrt (sin (/ (+ x (+ eps x)) 2)))) (cbrt (sin (/ (+ x (+ eps x)) 2)))))))) Initial program 30.8
rmApplied cos-sum0.6
if -0.00802840710461251 < (* -2 (* (* (cbrt (* (sin (/ eps 2)) (sin (/ (+ x (+ eps x)) 2)))) (cbrt (* (sin (/ eps 2)) (sin (/ (+ x (+ eps x)) 2))))) (cbrt (* (sin (/ eps 2)) (* (* (cbrt (sin (/ (+ x (+ eps x)) 2))) (cbrt (sin (/ (+ x (+ eps x)) 2)))) (cbrt (sin (/ (+ x (+ eps x)) 2)))))))) < 0.017558590530484378Initial program 48.6
rmApplied diff-cos37.3
Applied simplify1.5
Time bar (total: 39.7s)Debug logProfile
herbie shell --seed '#(1071852389 864846987 1238109217 3425890003 4124793586 650694553)' +o rules:numerics
(FPCore (x eps)
:name "2cos (problem 3.3.5)"
(- (cos (+ x eps)) (cos x)))