


Bits error versus x



Bits error versus eps
if (* (* (cbrt (* -2 (* (sin (/ eps 2)) (sin (/ (+ x (+ eps x)) 2))))) (cbrt (* -2 (* (sin (/ eps 2)) (sin (/ (+ x (+ eps x)) 2)))))) (cbrt (* -2 (* (sin (/ eps 2)) (sin (/ (+ x (+ eps x)) 2)))))) < -0.004254021644868721Initial program 25.5
rmApplied cos-sum0.7
Applied associate--l-0.7
Applied simplify0.7
if -0.004254021644868721 < (* (* (cbrt (* -2 (* (sin (/ eps 2)) (sin (/ (+ x (+ eps x)) 2))))) (cbrt (* -2 (* (sin (/ eps 2)) (sin (/ (+ x (+ eps x)) 2)))))) (cbrt (* -2 (* (sin (/ eps 2)) (sin (/ (+ x (+ eps x)) 2)))))) < 6.776059325572454e-05Initial program 48.1
rmApplied diff-cos36.4
Applied simplify0.9
if 6.776059325572454e-05 < (* (* (cbrt (* -2 (* (sin (/ eps 2)) (sin (/ (+ x (+ eps x)) 2))))) (cbrt (* -2 (* (sin (/ eps 2)) (sin (/ (+ x (+ eps x)) 2)))))) (cbrt (* -2 (* (sin (/ eps 2)) (sin (/ (+ x (+ eps x)) 2)))))) Initial program 60.5
rmApplied cos-sum1.2
Time bar (total: 37.7s)Debug logProfile
herbie shell --seed '#(1070578969 3140398606 632207097 462683394 1189254563 964980650)' +o rules:numerics
(FPCore (x eps)
:name "2cos (problem 3.3.5)"
(- (cos (+ x eps)) (cos x)))