


Bits error versus x



Bits error versus n
Results
if (+ (- (/ (/ 1 n) x) (/ (/ 1/2 n) (* x x))) (log (exp (/ (log x) (* (* n x) n))))) < -1.9754328566025774e-47 or 1.719907223203847e-145 < (+ (- (/ (/ 1 n) x) (/ (/ 1/2 n) (* x x))) (log (exp (/ (log x) (* (* n x) n))))) < 1.2484666522461057e+150Initial program 48.3
Taylor expanded around inf 60.0
Applied simplify17.5
if -1.9754328566025774e-47 < (+ (- (/ (/ 1 n) x) (/ (/ 1/2 n) (* x x))) (log (exp (/ (log x) (* (* n x) n))))) < 1.719907223203847e-145Initial program 29.7
Taylor expanded around -inf 63.0
Applied simplify12.9
Taylor expanded around -inf 63.0
Applied simplify12.9
if 1.2484666522461057e+150 < (+ (- (/ (/ 1 n) x) (/ (/ 1/2 n) (* x x))) (log (exp (/ (log x) (* (* n x) n))))) Initial program 18.7
rmApplied add-cbrt-cube18.7
Applied simplify18.7
Time bar (total: 1.2m)Debug logProfile
herbie shell --seed 2018198
(FPCore (x n)
:name "2nthrt (problem 3.4.6)"
(- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))))