\[{\left(x + 1\right)}^{\left(\frac{1}{n}\right)} - {x}^{\left(\frac{1}{n}\right)}\]
Test:
NMSE problem 3.4.6
Bits:
128 bits
Bits error versus x
Bits error versus n
Time: 19.8 s
Input Error: 32.8
Output Error: 32.8
Log:
Profile: 🕒
\({\left(x + 1\right)}^{\left(\frac{1}{n}\right)} - {\left(\sqrt{{x}^{\left(\frac{1}{n}\right)}}\right)}^2\)
  1. Started with
    \[{\left(x + 1\right)}^{\left(\frac{1}{n}\right)} - {x}^{\left(\frac{1}{n}\right)}\]
    32.8
  2. Using strategy rm
    32.8
  3. Applied add-sqr-sqrt to get
    \[{\left(x + 1\right)}^{\left(\frac{1}{n}\right)} - \color{red}{{x}^{\left(\frac{1}{n}\right)}} \leadsto {\left(x + 1\right)}^{\left(\frac{1}{n}\right)} - \color{blue}{{\left(\sqrt{{x}^{\left(\frac{1}{n}\right)}}\right)}^2}\]
    32.8

Original test:


(lambda ((x default) (n default))
  #:name "NMSE problem 3.4.6"
  (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))))