


Bits error versus x



Bits error versus n
if (/ (+ (* (- x (log x)) (+ (* (* x x) (* x x)) (+ (* (* (log x) (log x)) (* (log x) (log x))) (* (* x x) (* (log x) (log x)))))) (* n (* (/ (/ 1/2 n) n) (- (pow (* x x) 3) (pow (* (log x) (log x)) 3))))) (+ (* (* n (* x x)) (+ (* x x) (* (log x) (log x)))) (* (* n (log x)) (pow (log x) 3)))) < -0.0005657820419688625 or 3.3882049535259356e-05 < (/ (+ (* (- x (log x)) (+ (* (* x x) (* x x)) (+ (* (* (log x) (log x)) (* (log x) (log x))) (* (* x x) (* (log x) (log x)))))) (* n (* (/ (/ 1/2 n) n) (- (pow (* x x) 3) (pow (* (log x) (log x)) 3))))) (+ (* (* n (* x x)) (+ (* x x) (* (log x) (log x)))) (* (* n (log x)) (pow (log x) 3)))) Initial program 14.8
rmApplied add-log-exp15.0
Applied add-log-exp14.9
Applied diff-log14.9
Applied simplify14.9
if -0.0005657820419688625 < (/ (+ (* (- x (log x)) (+ (* (* x x) (* x x)) (+ (* (* (log x) (log x)) (* (log x) (log x))) (* (* x x) (* (log x) (log x)))))) (* n (* (/ (/ 1/2 n) n) (- (pow (* x x) 3) (pow (* (log x) (log x)) 3))))) (+ (* (* n (* x x)) (+ (* x x) (* (log x) (log x)))) (* (* n (log x)) (pow (log x) 3)))) < 3.3882049535259356e-05Initial program 58.7
Taylor expanded around inf 58.7
Applied simplify9.7
Taylor expanded around 0 9.0
Applied simplify9.0
Time bar (total: 2.2m)Debug logProfile
herbie shell --seed '#(1070991898 1055468627 4280279443 640792587 928206309 3646738750)'
(FPCore (x n)
:name "2nthrt (problem 3.4.6)"
(- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))))