


Bits error versus x



Bits error versus eps
if (* -2 (* (* (sin (/ eps 2)) (* (cbrt (sin (/ (+ x (+ eps x)) 2))) (cbrt (sin (/ (+ x (+ eps x)) 2))))) (cbrt (sin (/ (+ x (+ eps x)) 2))))) < -0.004884014674387836 or 2.3267673925832687e-05 < (* -2 (* (* (sin (/ eps 2)) (* (cbrt (sin (/ (+ x (+ eps x)) 2))) (cbrt (sin (/ (+ x (+ eps x)) 2))))) (cbrt (sin (/ (+ x (+ eps x)) 2))))) Initial program 30.2
rmApplied cos-sum0.7
Applied associate--l-0.7
Applied simplify0.7
if -0.004884014674387836 < (* -2 (* (* (sin (/ eps 2)) (* (cbrt (sin (/ (+ x (+ eps x)) 2))) (cbrt (sin (/ (+ x (+ eps x)) 2))))) (cbrt (sin (/ (+ x (+ eps x)) 2))))) < 2.3267673925832687e-05Initial program 49.1
rmApplied diff-cos38.0
Applied simplify0.9
rmApplied expm1-log1p-u1.0
Time bar (total: 35.4s)Debug logProfile
herbie shell --seed '#(1072361757 3390613284 2339397988 1175251238 145061547 3101881848)' +o rules:numerics
(FPCore (x eps)
:name "2cos (problem 3.3.5)"
(- (cos (+ x eps)) (cos x)))