\[\sqrt[3]{x + 1} - \sqrt[3]{x}
\]
↓
\[\begin{array}{l}
t_0 := {\left(\sqrt[3]{x}\right)}^{2}\\
t_1 := \sqrt[3]{1 + x}\\
\frac{1}{t_0 + \frac{x + \left(1 + x\right)}{\frac{t_0 + t_1 \cdot \left(t_1 - \sqrt[3]{x}\right)}{t_1}}}
\end{array}
\]
(FPCore (x) :precision binary64 (- (cbrt (+ x 1.0)) (cbrt x)))
↓
(FPCore (x)
:precision binary64
(let* ((t_0 (pow (cbrt x) 2.0)) (t_1 (cbrt (+ 1.0 x))))
(/
1.0
(+ t_0 (/ (+ x (+ 1.0 x)) (/ (+ t_0 (* t_1 (- t_1 (cbrt x)))) t_1))))))double code(double x) {
return cbrt((x + 1.0)) - cbrt(x);
}
↓
double code(double x) {
double t_0 = pow(cbrt(x), 2.0);
double t_1 = cbrt((1.0 + x));
return 1.0 / (t_0 + ((x + (1.0 + x)) / ((t_0 + (t_1 * (t_1 - cbrt(x)))) / t_1)));
}
public static double code(double x) {
return Math.cbrt((x + 1.0)) - Math.cbrt(x);
}
↓
public static double code(double x) {
double t_0 = Math.pow(Math.cbrt(x), 2.0);
double t_1 = Math.cbrt((1.0 + x));
return 1.0 / (t_0 + ((x + (1.0 + x)) / ((t_0 + (t_1 * (t_1 - Math.cbrt(x)))) / t_1)));
}
function code(x)
return Float64(cbrt(Float64(x + 1.0)) - cbrt(x))
end
↓
function code(x)
t_0 = cbrt(x) ^ 2.0
t_1 = cbrt(Float64(1.0 + x))
return Float64(1.0 / Float64(t_0 + Float64(Float64(x + Float64(1.0 + x)) / Float64(Float64(t_0 + Float64(t_1 * Float64(t_1 - cbrt(x)))) / t_1))))
end
code[x_] := N[(N[Power[N[(x + 1.0), $MachinePrecision], 1/3], $MachinePrecision] - N[Power[x, 1/3], $MachinePrecision]), $MachinePrecision]
↓
code[x_] := Block[{t$95$0 = N[Power[N[Power[x, 1/3], $MachinePrecision], 2.0], $MachinePrecision]}, Block[{t$95$1 = N[Power[N[(1.0 + x), $MachinePrecision], 1/3], $MachinePrecision]}, N[(1.0 / N[(t$95$0 + N[(N[(x + N[(1.0 + x), $MachinePrecision]), $MachinePrecision] / N[(N[(t$95$0 + N[(t$95$1 * N[(t$95$1 - N[Power[x, 1/3], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\sqrt[3]{x + 1} - \sqrt[3]{x}
↓
\begin{array}{l}
t_0 := {\left(\sqrt[3]{x}\right)}^{2}\\
t_1 := \sqrt[3]{1 + x}\\
\frac{1}{t_0 + \frac{x + \left(1 + x\right)}{\frac{t_0 + t_1 \cdot \left(t_1 - \sqrt[3]{x}\right)}{t_1}}}
\end{array}