


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))))) < -0.0009085078829486063 or 0.006374635300566277 < (* -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 29.3
rmApplied cos-sum0.7
if -0.0009085078829486063 < (* -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.006374635300566277Initial program 49.2
rmApplied diff-cos37.5
Applied simplify0.9
rmApplied expm1-log1p-u1.0
Time bar (total: 26.5s)Debug logProfile
herbie shell --seed '#(1070227846 1561819246 480764335 4016816270 2602869839 2117310382)' +o rules:numerics
(FPCore (x eps)
:name "2cos (problem 3.3.5)"
(- (cos (+ x eps)) (cos x)))