x + \left(y - z\right) \cdot \frac{t - x}{a - z}\begin{array}{l}
\mathbf{if}\;z \le -2.4105480043358252 \cdot 10^{184} \lor \neg \left(z \le 1.3812002330627112 \cdot 10^{209}\right):\\
\;\;\;\;y \cdot \left(\frac{x}{z} - \frac{t}{z}\right) + t\\
\mathbf{else}:\\
\;\;\;\;x + \left(\left(y - z\right) \cdot \frac{\sqrt[3]{t - x} \cdot \sqrt[3]{t - x}}{\sqrt[3]{a - z} \cdot \sqrt[3]{a - z}}\right) \cdot \frac{\sqrt[3]{t - x}}{\sqrt[3]{a - z}}\\
\end{array}double code(double x, double y, double z, double t, double a) {
return (x + ((y - z) * ((t - x) / (a - z))));
}
double code(double x, double y, double z, double t, double a) {
double VAR;
if (((z <= -2.4105480043358252e+184) || !(z <= 1.3812002330627112e+209))) {
VAR = ((y * ((x / z) - (t / z))) + t);
} else {
VAR = (x + (((y - z) * ((cbrt((t - x)) * cbrt((t - x))) / (cbrt((a - z)) * cbrt((a - z))))) * (cbrt((t - x)) / cbrt((a - z)))));
}
return VAR;
}



Bits error versus x



Bits error versus y



Bits error versus z



Bits error versus t



Bits error versus a
Results
if z < -2.4105480043358252e+184 or 1.3812002330627112e+209 < z Initial program 29.3
rmApplied add-cube-cbrt29.9
Applied add-cube-cbrt30.0
Applied times-frac30.0
Applied associate-*r*24.8
rmApplied add-cube-cbrt24.9
Taylor expanded around inf 25.2
Simplified15.0
if -2.4105480043358252e+184 < z < 1.3812002330627112e+209Initial program 10.4
rmApplied add-cube-cbrt11.0
Applied add-cube-cbrt11.1
Applied times-frac11.1
Applied associate-*r*8.3
Final simplification9.6
herbie shell --seed 2020106
(FPCore (x y z t a)
:name "Numeric.Signal:interpolate from hsignal-0.2.7.1"
:precision binary64
(+ x (* (- y z) (/ (- t x) (- a z)))))