


Bits error versus x



Bits error versus eps
if (* (* (sin (/ (+ eps (+ x x)) 2)) (* (cbrt (sin (/ eps 2))) (cbrt (sin (/ eps 2))))) (cbrt (sin (/ eps 2)))) < -2.5065994025001616e-07Initial program 60.6
rmApplied cos-sum1.1
Applied associate--l-1.1
Applied simplify1.1
if -2.5065994025001616e-07 < (* (* (sin (/ (+ eps (+ x x)) 2)) (* (cbrt (sin (/ eps 2))) (cbrt (sin (/ eps 2))))) (cbrt (sin (/ eps 2)))) < 0.0278628380812515Initial program 47.3
rmApplied diff-cos36.7
Applied simplify2.3
rmApplied associate-*r*2.3
if 0.0278628380812515 < (* (* (sin (/ (+ eps (+ x x)) 2)) (* (cbrt (sin (/ eps 2))) (cbrt (sin (/ eps 2))))) (cbrt (sin (/ eps 2)))) Initial program 25.1
rmApplied cos-sum0.5
Time bar (total: 40.8s)Debug logProfile
herbie shell --seed 2020178 +o rules:numerics
(FPCore (x eps)
:name "2cos (problem 3.3.5)"
(- (cos (+ x eps)) (cos x)))