Average Error: 29.3 → 0.5
Time: 3.9s
Precision: binary64
\[\sqrt[3]{x + 1} - \sqrt[3]{x}\]
\[\frac{1}{\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{1 + x} \cdot \left(\sqrt[3]{x} + \sqrt[3]{1 + x}\right)}\]
\sqrt[3]{x + 1} - \sqrt[3]{x}
\frac{1}{\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{1 + x} \cdot \left(\sqrt[3]{x} + \sqrt[3]{1 + x}\right)}
(FPCore (x) :precision binary64 (- (cbrt (+ x 1.0)) (cbrt x)))
(FPCore (x)
 :precision binary64
 (/
  1.0
  (+
   (* (cbrt x) (cbrt x))
   (* (cbrt (+ 1.0 x)) (+ (cbrt x) (cbrt (+ 1.0 x)))))))
double code(double x) {
	return cbrt(x + 1.0) - cbrt(x);
}
double code(double x) {
	return 1.0 / ((cbrt(x) * cbrt(x)) + (cbrt(1.0 + x) * (cbrt(x) + cbrt(1.0 + x))));
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 29.3

    \[\sqrt[3]{x + 1} - \sqrt[3]{x}\]
  2. Using strategy rm
  3. Applied flip3--_binary64_42329.2

    \[\leadsto \color{blue}{\frac{{\left(\sqrt[3]{x + 1}\right)}^{3} - {\left(\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)}}\]
  4. Simplified0.5

    \[\leadsto \frac{\color{blue}{1}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)}\]
  5. Simplified34.0

    \[\leadsto \frac{1}{\color{blue}{{x}^{0.6666666666666666} + \sqrt[3]{x + 1} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)}}\]
  6. Using strategy rm
  7. Applied sqr-pow_binary64_39134.0

    \[\leadsto \frac{1}{\color{blue}{{x}^{\left(\frac{0.6666666666666666}{2}\right)} \cdot {x}^{\left(\frac{0.6666666666666666}{2}\right)}} + \sqrt[3]{x + 1} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)}\]
  8. Simplified33.8

    \[\leadsto \frac{1}{\color{blue}{\sqrt[3]{x}} \cdot {x}^{\left(\frac{0.6666666666666666}{2}\right)} + \sqrt[3]{x + 1} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)}\]
  9. Simplified0.5

    \[\leadsto \frac{1}{\sqrt[3]{x} \cdot \color{blue}{\sqrt[3]{x}} + \sqrt[3]{x + 1} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)}\]
  10. Final simplification0.5

    \[\leadsto \frac{1}{\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{1 + x} \cdot \left(\sqrt[3]{x} + \sqrt[3]{1 + x}\right)}\]

Reproduce

herbie shell --seed 2020343 
(FPCore (x)
  :name "2cbrt (problem 3.3.4)"
  :precision binary64
  (- (cbrt (+ x 1.0)) (cbrt x)))