


Bits error versus x



Bits error versus eps
if (* -2 (cbrt (pow (* (sin (/ (+ x (+ x eps)) 2)) (sin (/ eps 2))) 3))) < -0.001536288011547851 or 1.302224988417336e-06 < (* -2 (cbrt (pow (* (sin (/ (+ x (+ x eps)) 2)) (sin (/ eps 2))) 3))) Initial program 30.7
rmApplied cos-sum0.8
Applied associate--l-0.8
Applied simplify0.8
if -0.001536288011547851 < (* -2 (cbrt (pow (* (sin (/ (+ x (+ x eps)) 2)) (sin (/ eps 2))) 3))) < 1.302224988417336e-06Initial program 49.4
rmApplied diff-cos37.8
Applied simplify0.7
rmApplied add-cube-cbrt1.7
Applied associate-*r*1.7
Time bar (total: 38.9s)Debug logProfile
herbie shell --seed '#(1070386091 2509006183 1430610344 1025408621 36622005 1425925650)' +o rules:numerics
(FPCore (x eps)
:name "2cos (problem 3.3.5)"
(- (cos (+ x eps)) (cos x)))