


Bits error versus x



Bits error versus eps
if (* -2 (* (sin (/ eps 2)) (expm1 (log1p (sin (/ (+ x (+ eps x)) 2)))))) < -0.0011825109937995894 or 1.1342552915408808e-29 < (* -2 (* (sin (/ eps 2)) (expm1 (log1p (sin (/ (+ x (+ eps x)) 2)))))) Initial program 30.7
rmApplied cos-sum1.5
Applied associate--l-1.5
Applied simplify1.5
if -0.0011825109937995894 < (* -2 (* (sin (/ eps 2)) (expm1 (log1p (sin (/ (+ x (+ eps x)) 2)))))) < 1.1342552915408808e-29Initial program 49.1
rmApplied diff-cos37.7
Applied simplify0.5
rmApplied expm1-log1p-u0.6
Time bar (total: 34.5s)Debug logProfile
herbie shell --seed '#(1072361757 3390613284 2339397988 1175251238 145061547 3101881848)' +o rules:numerics
(FPCore (x eps)
:name "2cos (problem 3.3.5)"
(- (cos (+ x eps)) (cos x)))