


Bits error versus x



Bits error versus eps
if (* -2 (* (* (sin (/ eps 2)) (* (cbrt (sin (/ (fma 2 x eps) 2))) (cbrt (sin (/ (fma 2 x eps) 2))))) (cbrt (sin (/ (fma 2 x eps) 2))))) < -4.960559738300167e-06Initial program 25.0
rmApplied cos-sum0.8
if -4.960559738300167e-06 < (* -2 (* (* (sin (/ eps 2)) (* (cbrt (sin (/ (fma 2 x eps) 2))) (cbrt (sin (/ (fma 2 x eps) 2))))) (cbrt (sin (/ (fma 2 x eps) 2))))) < 0.014495001146888918Initial program 49.1
rmApplied diff-cos37.2
Applied simplify0.7
if 0.014495001146888918 < (* -2 (* (* (sin (/ eps 2)) (* (cbrt (sin (/ (fma 2 x eps) 2))) (cbrt (sin (/ (fma 2 x eps) 2))))) (cbrt (sin (/ (fma 2 x eps) 2))))) Initial program 60.4
rmApplied cos-sum1.2
Applied associate--l-1.2
Applied simplify1.2
Time bar (total: 37.0s)Debug logProfile
herbie shell --seed '#(1070131407 1246090267 3027482374 2150728003 2026520792 2347815650)' +o rules:numerics
(FPCore (x eps)
:name "2cos (problem 3.3.5)"
(- (cos (+ x eps)) (cos x)))