


Bits error versus x



Bits error versus eps
Results
if (* -2 (* (* (cbrt (* (sin (/ eps 2)) (sin (/ (+ x (+ eps x)) 2)))) (cbrt (* (sin (/ eps 2)) (sin (/ (+ x (+ eps x)) 2))))) (cbrt (* (sin (/ eps 2)) (sin (/ (+ x (+ eps x)) 2)))))) < -4.499988252549904e-07 or 0.027163715613777815 < (* -2 (* (* (cbrt (* (sin (/ eps 2)) (sin (/ (+ x (+ eps x)) 2)))) (cbrt (* (sin (/ eps 2)) (sin (/ (+ x (+ eps x)) 2))))) (cbrt (* (sin (/ eps 2)) (sin (/ (+ x (+ eps x)) 2)))))) Initial program 29.3
rmApplied cos-sum0.8
Applied associate--l-0.9
if -4.499988252549904e-07 < (* -2 (* (* (cbrt (* (sin (/ eps 2)) (sin (/ (+ x (+ eps x)) 2)))) (cbrt (* (sin (/ eps 2)) (sin (/ (+ x (+ eps x)) 2))))) (cbrt (* (sin (/ eps 2)) (sin (/ (+ x (+ eps x)) 2)))))) < 0.027163715613777815Initial program 49.8
rmApplied diff-cos38.4
Applied simplify0.9
Time bar (total: 41.4s)Debug logProfile
herbie shell --seed 2018167
(FPCore (x eps)
:name "2cos (problem 3.3.5)"
(- (cos (+ x eps)) (cos x)))