


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)))))) < -1.0181736631411995e-07Initial program 25.8
rmApplied cos-sum0.9
Applied associate--l-0.9
Applied simplify0.9
if -1.0181736631411995e-07 < (* (* (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)))))) < 2.8999654517490028e-06Initial program 49.5
rmApplied diff-cos37.5
Applied simplify0.4
rmApplied log1p-expm1-u0.5
if 2.8999654517490028e-06 < (* (* (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.2
rmApplied cos-sum1.3
Time bar (total: 1.4m)Debug logProfile
herbie shell --seed '#(1072967564 1937075727 894099792 790700740 1036514779 1027793188)' +o rules:numerics
(FPCore (x eps)
:name "2cos (problem 3.3.5)"
(- (cos (+ x eps)) (cos x)))