x + \left(y - z\right) \cdot \frac{t - x}{a - z}\begin{array}{l}
\mathbf{if}\;x + \left(y - z\right) \cdot \frac{t - x}{a - z} \le -6.3041672494028356 \cdot 10^{-304} \lor \neg \left(x + \left(y - z\right) \cdot \frac{t - x}{a - z} \le 1.3211224884217248 \cdot 10^{-246}\right):\\
\;\;\;\;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}}\\
\mathbf{else}:\\
\;\;\;\;\left(\frac{x \cdot y}{z} + t\right) - \frac{t \cdot y}{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 ((((x + ((y - z) * ((t - x) / (a - z)))) <= -6.3041672494028356e-304) || !((x + ((y - z) * ((t - x) / (a - z)))) <= 1.3211224884217248e-246))) {
VAR = (x + (((y - z) * ((cbrt((t - x)) * cbrt((t - x))) / (cbrt((a - z)) * cbrt((a - z))))) * (cbrt((t - x)) / cbrt((a - z)))));
} else {
VAR = ((((x * y) / z) + t) - ((t * y) / 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 (+ x (* (- y z) (/ (- t x) (- a z)))) < -6.3041672494028356e-304 or 1.3211224884217248e-246 < (+ x (* (- y z) (/ (- t x) (- a z)))) Initial program 7.3
rmApplied add-cube-cbrt8.0
Applied add-cube-cbrt8.1
Applied times-frac8.1
Applied associate-*r*4.8
if -6.3041672494028356e-304 < (+ x (* (- y z) (/ (- t x) (- a z)))) < 1.3211224884217248e-246Initial program 58.4
Taylor expanded around inf 27.2
Final simplification8.1
herbie shell --seed 2020092
(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)))))