Average Error: 30.1 → 30.1
Time: 1.0s
Precision: binary64
Cost: 13120
\[\sqrt[3]{x + 1} - \sqrt[3]{x}\]
\[\sqrt[3]{x + 1} - \sqrt[3]{x}\]
\sqrt[3]{x + 1} - \sqrt[3]{x}
\sqrt[3]{x + 1} - \sqrt[3]{x}
(FPCore (x) :precision binary64 (- (cbrt (+ x 1.0)) (cbrt x)))
(FPCore (x) :precision binary64 (- (cbrt (+ x 1.0)) (cbrt x)))
double code(double x) {
	return cbrt(x + 1.0) - cbrt(x);
}
double code(double x) {
	return cbrt(x + 1.0) - cbrt(x);
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 30.1

    \[\sqrt[3]{x + 1} - \sqrt[3]{x}\]
  2. Simplified30.1

    \[\leadsto \color{blue}{\sqrt[3]{x + 1} - \sqrt[3]{x}}\]
  3. Final simplification30.1

    \[\leadsto \sqrt[3]{x + 1} - \sqrt[3]{x}\]

Reproduce

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