


Bits error versus x



Bits error versus n
Results
if (+ (- (/ (/ 1 n) x) (/ (/ 1/2 n) (* x x))) (pow (exp (* (cbrt (- (log (log x)) (log (* (* n x) n)))) (cbrt (- (log (log x)) (log (* (* n x) n)))))) (cbrt (- (log (log x)) (log (* (* n x) n)))))) < 4.375868223365995e-83Initial program 28.8
Taylor expanded around -inf 63.0
Applied simplify5.4
Taylor expanded around -inf 63.0
Applied simplify5.3
if 4.375868223365995e-83 < (+ (- (/ (/ 1 n) x) (/ (/ 1/2 n) (* x x))) (pow (exp (* (cbrt (- (log (log x)) (log (* (* n x) n)))) (cbrt (- (log (log x)) (log (* (* n x) n)))))) (cbrt (- (log (log x)) (log (* (* n x) n)))))) < 1.7815982055454507e+308Initial program 2.7
rmApplied add-cbrt-cube2.7
Applied simplify2.7
if 1.7815982055454507e+308 < (+ (- (/ (/ 1 n) x) (/ (/ 1/2 n) (* x x))) (pow (exp (* (cbrt (- (log (log x)) (log (* (* n x) n)))) (cbrt (- (log (log x)) (log (* (* n x) n)))))) (cbrt (- (log (log x)) (log (* (* n x) n)))))) Initial program 42.5
Taylor expanded around inf 60.2
Applied simplify19.7
Time bar (total: 1.4m)Debug logProfile
herbie shell --seed 2018198
(FPCore (x n)
:name "2nthrt (problem 3.4.6)"
(- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))))