


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)))))) < -1.374836816675505e-07Initial program 24.4
rmApplied cos-sum0.8
if -1.374836816675505e-07 < (* -2 (* (sin (/ eps 2)) (* (* (cbrt (sin (/ (+ x (+ eps x)) 2))) (cbrt (sin (/ (+ x (+ eps x)) 2)))) (cbrt (sin (/ (+ x (+ eps x)) 2)))))) < 0.04112801369640989Initial program 49.7
rmApplied diff-cos38.5
Applied simplify1.0
if 0.04112801369640989 < (* -2 (* (sin (/ eps 2)) (* (* (cbrt (sin (/ (+ x (+ eps x)) 2))) (cbrt (sin (/ (+ x (+ eps x)) 2)))) (cbrt (sin (/ (+ x (+ eps x)) 2)))))) Initial program 60.8
rmApplied cos-sum1.0
Applied associate--l-1.0
Applied simplify1.0
Time bar (total: 37.9s)Debug logProfile
herbie shell --seed '#(1071948828 1180510430 2986424009 997076509 406109801 420189285)' +o rules:numerics
(FPCore (x eps)
:name "2cos (problem 3.3.5)"
(- (cos (+ x eps)) (cos x)))