Average Error: 0.0 → 0.0
Time: 3.6s
Precision: 64
\[x - \frac{2.30753 + x \cdot 0.27061000000000002}{1 + \left(0.992290000000000005 + x \cdot 0.044810000000000003\right) \cdot x}\]
\[x - \frac{1}{\sqrt[3]{{\left(\frac{1 + \left(0.992290000000000005 + x \cdot 0.044810000000000003\right) \cdot x}{2.30753 + x \cdot 0.27061000000000002}\right)}^{3}}}\]
x - \frac{2.30753 + x \cdot 0.27061000000000002}{1 + \left(0.992290000000000005 + x \cdot 0.044810000000000003\right) \cdot x}
x - \frac{1}{\sqrt[3]{{\left(\frac{1 + \left(0.992290000000000005 + x \cdot 0.044810000000000003\right) \cdot x}{2.30753 + x \cdot 0.27061000000000002}\right)}^{3}}}
double code(double x) {
	return (x - ((2.30753 + (x * 0.27061)) / (1.0 + ((0.99229 + (x * 0.04481)) * x))));
}
double code(double x) {
	return (x - (1.0 / cbrt(pow(((1.0 + ((0.99229 + (x * 0.04481)) * x)) / (2.30753 + (x * 0.27061))), 3.0))));
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[x - \frac{2.30753 + x \cdot 0.27061000000000002}{1 + \left(0.992290000000000005 + x \cdot 0.044810000000000003\right) \cdot x}\]
  2. Using strategy rm
  3. Applied clear-num0.0

    \[\leadsto x - \color{blue}{\frac{1}{\frac{1 + \left(0.992290000000000005 + x \cdot 0.044810000000000003\right) \cdot x}{2.30753 + x \cdot 0.27061000000000002}}}\]
  4. Using strategy rm
  5. Applied add-cbrt-cube21.8

    \[\leadsto x - \frac{1}{\frac{1 + \left(0.992290000000000005 + x \cdot 0.044810000000000003\right) \cdot x}{\color{blue}{\sqrt[3]{\left(\left(2.30753 + x \cdot 0.27061000000000002\right) \cdot \left(2.30753 + x \cdot 0.27061000000000002\right)\right) \cdot \left(2.30753 + x \cdot 0.27061000000000002\right)}}}}\]
  6. Applied add-cbrt-cube21.8

    \[\leadsto x - \frac{1}{\frac{\color{blue}{\sqrt[3]{\left(\left(1 + \left(0.992290000000000005 + x \cdot 0.044810000000000003\right) \cdot x\right) \cdot \left(1 + \left(0.992290000000000005 + x \cdot 0.044810000000000003\right) \cdot x\right)\right) \cdot \left(1 + \left(0.992290000000000005 + x \cdot 0.044810000000000003\right) \cdot x\right)}}}{\sqrt[3]{\left(\left(2.30753 + x \cdot 0.27061000000000002\right) \cdot \left(2.30753 + x \cdot 0.27061000000000002\right)\right) \cdot \left(2.30753 + x \cdot 0.27061000000000002\right)}}}\]
  7. Applied cbrt-undiv21.8

    \[\leadsto x - \frac{1}{\color{blue}{\sqrt[3]{\frac{\left(\left(1 + \left(0.992290000000000005 + x \cdot 0.044810000000000003\right) \cdot x\right) \cdot \left(1 + \left(0.992290000000000005 + x \cdot 0.044810000000000003\right) \cdot x\right)\right) \cdot \left(1 + \left(0.992290000000000005 + x \cdot 0.044810000000000003\right) \cdot x\right)}{\left(\left(2.30753 + x \cdot 0.27061000000000002\right) \cdot \left(2.30753 + x \cdot 0.27061000000000002\right)\right) \cdot \left(2.30753 + x \cdot 0.27061000000000002\right)}}}}\]
  8. Simplified0.0

    \[\leadsto x - \frac{1}{\sqrt[3]{\color{blue}{{\left(\frac{1 + \left(0.992290000000000005 + x \cdot 0.044810000000000003\right) \cdot x}{2.30753 + x \cdot 0.27061000000000002}\right)}^{3}}}}\]
  9. Final simplification0.0

    \[\leadsto x - \frac{1}{\sqrt[3]{{\left(\frac{1 + \left(0.992290000000000005 + x \cdot 0.044810000000000003\right) \cdot x}{2.30753 + x \cdot 0.27061000000000002}\right)}^{3}}}\]

Reproduce

herbie shell --seed 2020060 
(FPCore (x)
  :name "Numeric.SpecFunctions:invIncompleteBetaWorker from math-functions-0.1.5.2, D"
  :precision binary64
  (- x (/ (+ 2.30753 (* x 0.27061)) (+ 1 (* (+ 0.99229 (* x 0.04481)) x)))))