\[\sqrt[3]{x + 1} - \sqrt[3]{x}
\]
↓
\[\begin{array}{l}
t_0 := \sqrt[3]{1 + x}\\
\mathbf{if}\;x \leq -2 \cdot 10^{+154} \lor \neg \left(x \leq 1.5 \cdot 10^{+154}\right):\\
\;\;\;\;\frac{1}{{\left(\sqrt[3]{x}\right)}^{2} + t_0 \cdot \left(\sqrt[3]{x} + \sqrt[3]{x}\right)}\\
\mathbf{else}:\\
\;\;\;\;\frac{1}{t_0 \cdot \left(\sqrt[3]{x} + t_0\right) + \sqrt[3]{x \cdot x}}\\
\end{array}
\]
(FPCore (x) :precision binary64 (- (cbrt (+ x 1.0)) (cbrt x)))
↓
(FPCore (x)
:precision binary64
(let* ((t_0 (cbrt (+ 1.0 x))))
(if (or (<= x -2e+154) (not (<= x 1.5e+154)))
(/ 1.0 (+ (pow (cbrt x) 2.0) (* t_0 (+ (cbrt x) (cbrt x)))))
(/ 1.0 (+ (* t_0 (+ (cbrt x) t_0)) (cbrt (* x x)))))))double code(double x) {
return cbrt((x + 1.0)) - cbrt(x);
}
↓
double code(double x) {
double t_0 = cbrt((1.0 + x));
double tmp;
if ((x <= -2e+154) || !(x <= 1.5e+154)) {
tmp = 1.0 / (pow(cbrt(x), 2.0) + (t_0 * (cbrt(x) + cbrt(x))));
} else {
tmp = 1.0 / ((t_0 * (cbrt(x) + t_0)) + cbrt((x * x)));
}
return tmp;
}
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.cbrt((1.0 + x));
double tmp;
if ((x <= -2e+154) || !(x <= 1.5e+154)) {
tmp = 1.0 / (Math.pow(Math.cbrt(x), 2.0) + (t_0 * (Math.cbrt(x) + Math.cbrt(x))));
} else {
tmp = 1.0 / ((t_0 * (Math.cbrt(x) + t_0)) + Math.cbrt((x * x)));
}
return tmp;
}
function code(x)
return Float64(cbrt(Float64(x + 1.0)) - cbrt(x))
end
↓
function code(x)
t_0 = cbrt(Float64(1.0 + x))
tmp = 0.0
if ((x <= -2e+154) || !(x <= 1.5e+154))
tmp = Float64(1.0 / Float64((cbrt(x) ^ 2.0) + Float64(t_0 * Float64(cbrt(x) + cbrt(x)))));
else
tmp = Float64(1.0 / Float64(Float64(t_0 * Float64(cbrt(x) + t_0)) + cbrt(Float64(x * x))));
end
return tmp
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[(1.0 + x), $MachinePrecision], 1/3], $MachinePrecision]}, If[Or[LessEqual[x, -2e+154], N[Not[LessEqual[x, 1.5e+154]], $MachinePrecision]], N[(1.0 / N[(N[Power[N[Power[x, 1/3], $MachinePrecision], 2.0], $MachinePrecision] + N[(t$95$0 * N[(N[Power[x, 1/3], $MachinePrecision] + N[Power[x, 1/3], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(1.0 / N[(N[(t$95$0 * N[(N[Power[x, 1/3], $MachinePrecision] + t$95$0), $MachinePrecision]), $MachinePrecision] + N[Power[N[(x * x), $MachinePrecision], 1/3], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\sqrt[3]{x + 1} - \sqrt[3]{x}
↓
\begin{array}{l}
t_0 := \sqrt[3]{1 + x}\\
\mathbf{if}\;x \leq -2 \cdot 10^{+154} \lor \neg \left(x \leq 1.5 \cdot 10^{+154}\right):\\
\;\;\;\;\frac{1}{{\left(\sqrt[3]{x}\right)}^{2} + t_0 \cdot \left(\sqrt[3]{x} + \sqrt[3]{x}\right)}\\
\mathbf{else}:\\
\;\;\;\;\frac{1}{t_0 \cdot \left(\sqrt[3]{x} + t_0\right) + \sqrt[3]{x \cdot x}}\\
\end{array}