Average Error: 0.0 → 0.0
Time: 9.2s
Precision: 64
\[\frac{2.307529999999999859028321225196123123169 + x \cdot 0.2706100000000000171951342053944244980812}{1 + x \cdot \left(0.992290000000000005364597654988756403327 + x \cdot 0.04481000000000000260680366181986755691469\right)} - x\]
\[\sqrt[3]{{\left(\frac{\mathsf{fma}\left(x, 0.2706100000000000171951342053944244980812, 2.307529999999999859028321225196123123169\right)}{\mathsf{fma}\left(\mathsf{fma}\left(x, 0.04481000000000000260680366181986755691469, 0.992290000000000005364597654988756403327\right), x, 1\right)}\right)}^{3}} - x\]
\frac{2.307529999999999859028321225196123123169 + x \cdot 0.2706100000000000171951342053944244980812}{1 + x \cdot \left(0.992290000000000005364597654988756403327 + x \cdot 0.04481000000000000260680366181986755691469\right)} - x
\sqrt[3]{{\left(\frac{\mathsf{fma}\left(x, 0.2706100000000000171951342053944244980812, 2.307529999999999859028321225196123123169\right)}{\mathsf{fma}\left(\mathsf{fma}\left(x, 0.04481000000000000260680366181986755691469, 0.992290000000000005364597654988756403327\right), x, 1\right)}\right)}^{3}} - x
double f(double x) {
        double r44353 = 2.30753;
        double r44354 = x;
        double r44355 = 0.27061;
        double r44356 = r44354 * r44355;
        double r44357 = r44353 + r44356;
        double r44358 = 1.0;
        double r44359 = 0.99229;
        double r44360 = 0.04481;
        double r44361 = r44354 * r44360;
        double r44362 = r44359 + r44361;
        double r44363 = r44354 * r44362;
        double r44364 = r44358 + r44363;
        double r44365 = r44357 / r44364;
        double r44366 = r44365 - r44354;
        return r44366;
}

double f(double x) {
        double r44367 = x;
        double r44368 = 0.27061;
        double r44369 = 2.30753;
        double r44370 = fma(r44367, r44368, r44369);
        double r44371 = 0.04481;
        double r44372 = 0.99229;
        double r44373 = fma(r44367, r44371, r44372);
        double r44374 = 1.0;
        double r44375 = fma(r44373, r44367, r44374);
        double r44376 = r44370 / r44375;
        double r44377 = 3.0;
        double r44378 = pow(r44376, r44377);
        double r44379 = cbrt(r44378);
        double r44380 = r44379 - r44367;
        return r44380;
}

Error

Bits error versus x

Derivation

  1. Initial program 0.0

    \[\frac{2.307529999999999859028321225196123123169 + x \cdot 0.2706100000000000171951342053944244980812}{1 + x \cdot \left(0.992290000000000005364597654988756403327 + x \cdot 0.04481000000000000260680366181986755691469\right)} - x\]
  2. Using strategy rm
  3. Applied add-cbrt-cube0.0

    \[\leadsto \frac{2.307529999999999859028321225196123123169 + x \cdot 0.2706100000000000171951342053944244980812}{\color{blue}{\sqrt[3]{\left(\left(1 + x \cdot \left(0.992290000000000005364597654988756403327 + x \cdot 0.04481000000000000260680366181986755691469\right)\right) \cdot \left(1 + x \cdot \left(0.992290000000000005364597654988756403327 + x \cdot 0.04481000000000000260680366181986755691469\right)\right)\right) \cdot \left(1 + x \cdot \left(0.992290000000000005364597654988756403327 + x \cdot 0.04481000000000000260680366181986755691469\right)\right)}}} - x\]
  4. Applied add-cbrt-cube21.0

    \[\leadsto \frac{\color{blue}{\sqrt[3]{\left(\left(2.307529999999999859028321225196123123169 + x \cdot 0.2706100000000000171951342053944244980812\right) \cdot \left(2.307529999999999859028321225196123123169 + x \cdot 0.2706100000000000171951342053944244980812\right)\right) \cdot \left(2.307529999999999859028321225196123123169 + x \cdot 0.2706100000000000171951342053944244980812\right)}}}{\sqrt[3]{\left(\left(1 + x \cdot \left(0.992290000000000005364597654988756403327 + x \cdot 0.04481000000000000260680366181986755691469\right)\right) \cdot \left(1 + x \cdot \left(0.992290000000000005364597654988756403327 + x \cdot 0.04481000000000000260680366181986755691469\right)\right)\right) \cdot \left(1 + x \cdot \left(0.992290000000000005364597654988756403327 + x \cdot 0.04481000000000000260680366181986755691469\right)\right)}} - x\]
  5. Applied cbrt-undiv21.0

    \[\leadsto \color{blue}{\sqrt[3]{\frac{\left(\left(2.307529999999999859028321225196123123169 + x \cdot 0.2706100000000000171951342053944244980812\right) \cdot \left(2.307529999999999859028321225196123123169 + x \cdot 0.2706100000000000171951342053944244980812\right)\right) \cdot \left(2.307529999999999859028321225196123123169 + x \cdot 0.2706100000000000171951342053944244980812\right)}{\left(\left(1 + x \cdot \left(0.992290000000000005364597654988756403327 + x \cdot 0.04481000000000000260680366181986755691469\right)\right) \cdot \left(1 + x \cdot \left(0.992290000000000005364597654988756403327 + x \cdot 0.04481000000000000260680366181986755691469\right)\right)\right) \cdot \left(1 + x \cdot \left(0.992290000000000005364597654988756403327 + x \cdot 0.04481000000000000260680366181986755691469\right)\right)}}} - x\]
  6. Simplified0.0

    \[\leadsto \sqrt[3]{\color{blue}{{\left(\frac{\mathsf{fma}\left(x, 0.2706100000000000171951342053944244980812, 2.307529999999999859028321225196123123169\right)}{\mathsf{fma}\left(\mathsf{fma}\left(x, 0.04481000000000000260680366181986755691469, 0.992290000000000005364597654988756403327\right), x, 1\right)}\right)}^{3}}} - x\]
  7. Final simplification0.0

    \[\leadsto \sqrt[3]{{\left(\frac{\mathsf{fma}\left(x, 0.2706100000000000171951342053944244980812, 2.307529999999999859028321225196123123169\right)}{\mathsf{fma}\left(\mathsf{fma}\left(x, 0.04481000000000000260680366181986755691469, 0.992290000000000005364597654988756403327\right), x, 1\right)}\right)}^{3}} - x\]

Reproduce

herbie shell --seed 2019179 +o rules:numerics
(FPCore (x)
  :name "Numeric.SpecFunctions:invIncompleteGamma from math-functions-0.1.5.2, C"
  (- (/ (+ 2.30753 (* x 0.27061)) (+ 1.0 (* x (+ 0.99229 (* x 0.04481))))) x))