x + \left(y - z\right) \cdot \frac{t - x}{a - z}\begin{array}{l}
\mathbf{if}\;a \le -1.17807646797838966 \cdot 10^{-136}:\\
\;\;\;\;x + \frac{y - z}{\sqrt[3]{a - z} \cdot \sqrt[3]{a - z}} \cdot \frac{t - x}{\sqrt[3]{a - z}}\\
\mathbf{elif}\;a \le 1.24574118426316236 \cdot 10^{-202}:\\
\;\;\;\;\left(\frac{x \cdot y}{z} + t\right) - \frac{t \cdot y}{z}\\
\mathbf{else}:\\
\;\;\;\;x + \left(y - z\right) \cdot \left(\left(t - x\right) \cdot \frac{1}{a - z}\right)\\
\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 ((a <= -1.1780764679783897e-136)) {
VAR = (x + (((y - z) / (cbrt((a - z)) * cbrt((a - z)))) * ((t - x) / cbrt((a - z)))));
} else {
double VAR_1;
if ((a <= 1.2457411842631624e-202)) {
VAR_1 = ((((x * y) / z) + t) - ((t * y) / z));
} else {
VAR_1 = (x + ((y - z) * ((t - x) * (1.0 / (a - z)))));
}
VAR = VAR_1;
}
return VAR;
}



Bits error versus x



Bits error versus y



Bits error versus z



Bits error versus t



Bits error versus a
Results
if a < -1.1780764679783897e-136Initial program 11.1
rmApplied add-cube-cbrt11.6
Applied *-un-lft-identity11.6
Applied times-frac11.6
Applied associate-*r*9.4
Simplified9.4
if -1.1780764679783897e-136 < a < 1.2457411842631624e-202Initial program 25.1
Taylor expanded around inf 14.6
if 1.2457411842631624e-202 < a Initial program 13.4
rmApplied div-inv13.5
Final simplification12.2
herbie shell --seed 2020079
(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)))))