


Bits error versus x



Bits error versus n
if (+ (- (/ (/ 1 n) x) (/ (/ 1/2 n) (* x x))) (exp (log (/ (log x) (* (* n x) n))))) < -2.3087914140683312e-171 or +inf.0 < (+ (- (/ (/ 1 n) x) (/ (/ 1/2 n) (* x x))) (exp (log (/ (log x) (* (* n x) n))))) Initial program 45.9
Taylor expanded around inf 60.1
Applied simplify19.9
if -2.3087914140683312e-171 < (+ (- (/ (/ 1 n) x) (/ (/ 1/2 n) (* x x))) (exp (log (/ (log x) (* (* n x) n))))) < 9.805524243971042e-111Initial program 28.4
Taylor expanded around -inf 63.0
Applied simplify7.9
rmApplied add-cube-cbrt7.9
Applied times-frac7.8
if 9.805524243971042e-111 < (+ (- (/ (/ 1 n) x) (/ (/ 1/2 n) (* x x))) (exp (log (/ (log x) (* (* n x) n))))) < +inf.0Initial program 12.1
rmApplied add-log-exp12.1
Applied add-log-exp12.1
Applied diff-log12.1
Applied simplify12.1
rmApplied add-cube-cbrt12.1
Applied log-prod12.1
Time bar (total: 1.2m)Debug logProfile
herbie shell --seed '#(1072330854 3074818769 591214268 3603999196 3863745332 3332387116)'
(FPCore (x n)
:name "2nthrt (problem 3.4.6)"
(- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))))