


Bits error versus x



Bits error versus eps
if (* -2 (* (* (expm1 (log1p (cbrt (* (sin (/ (+ (+ x x) eps) 2)) (sin (/ (+ (+ x x) eps) 2)))))) (sin (/ eps 2))) (cbrt (pow (cbrt (sin (/ (+ x (+ eps x)) 2))) 3)))) < -0.003002798055434408 or 1.7496434683797861e-06 < (* -2 (* (* (expm1 (log1p (cbrt (* (sin (/ (+ (+ x x) eps) 2)) (sin (/ (+ (+ x x) eps) 2)))))) (sin (/ eps 2))) (cbrt (pow (cbrt (sin (/ (+ x (+ eps x)) 2))) 3)))) Initial program 30.1
rmApplied cos-sum0.7
Applied associate--l-0.8
Applied simplify0.7
if -0.003002798055434408 < (* -2 (* (* (expm1 (log1p (cbrt (* (sin (/ (+ (+ x x) eps) 2)) (sin (/ (+ (+ x x) eps) 2)))))) (sin (/ eps 2))) (cbrt (pow (cbrt (sin (/ (+ x (+ eps x)) 2))) 3)))) < 1.7496434683797861e-06Initial program 48.9
rmApplied diff-cos36.6
Applied simplify0.9
Time bar (total: 37.1s)Debug logProfile
herbie shell --seed '#(1070706311 3771791028 4128836681 4194990999 2341756049 504035650)' +o rules:numerics
(FPCore (x eps)
:name "2cos (problem 3.3.5)"
(- (cos (+ x eps)) (cos x)))