


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)))))) < -1.923700595105875e-10Initial program 25.2
rmApplied cos-sum1.1
Applied associate--l-1.1
if -1.923700595105875e-10 < (* -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)))))) < 2.5554631177229802e-09Initial program 49.8
rmApplied diff-cos38.3
Applied simplify0.3
if 2.5554631177229802e-09 < (* -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 60.5
rmApplied cos-sum1.6
Time bar (total: 44.4s)Debug logProfile
herbie shell --seed 2018198
(FPCore (x eps)
:name "2cos (problem 3.3.5)"
(- (cos (+ x eps)) (cos x)))