


Bits error versus x



Bits error versus n
Results
if (+ (- (/ 1 (* x n)) (/ (/ 1/2 x) (* x n))) (/ (log x) (* (* n n) x))) < -3.884110999535315e-107 or 9.343570888168837e-40 < (+ (- (/ 1 (* x n)) (/ (/ 1/2 x) (* x n))) (/ (log x) (* (* n n) x))) < 300540269.3057448 or 2.965718705433725e+216 < (+ (- (/ 1 (* x n)) (/ (/ 1/2 x) (* x n))) (/ (log x) (* (* n n) x))) < 2.979682625108355e+262Initial program 45.6
Taylor expanded around inf 60.1
Applied simplify18.5
if -3.884110999535315e-107 < (+ (- (/ 1 (* x n)) (/ (/ 1/2 x) (* x n))) (/ (log x) (* (* n n) x))) < 7.127149862386246e-127Initial program 30.7
Taylor expanded around -inf 63.0
Applied simplify9.5
if 7.127149862386246e-127 < (+ (- (/ 1 (* x n)) (/ (/ 1/2 x) (* x n))) (/ (log x) (* (* n n) x))) < 9.343570888168837e-40Initial program 41.9
rmApplied add-cube-cbrt41.9
if 300540269.3057448 < (+ (- (/ 1 (* x n)) (/ (/ 1/2 x) (* x n))) (/ (log x) (* (* n n) x))) < 2.965718705433725e+216Initial program 35.9
rmApplied add-cube-cbrt35.9
rmApplied add-log-exp36.1
rmApplied add-cube-cbrt36.1
Applied log-prod36.1
if 2.979682625108355e+262 < (+ (- (/ 1 (* x n)) (/ (/ 1/2 x) (* x n))) (/ (log x) (* (* n n) x))) Initial program 18.6
rmApplied add-cube-cbrt18.6
rmApplied add-log-exp18.8
rmApplied add-sqr-sqrt18.8
Applied log-prod18.8
Time bar (total: 1.7m)Debug logProfile
herbie shell --seed 2018207
(FPCore (x n)
:name "2nthrt (problem 3.4.6)"
(- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))))