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 -2.72946199750767504 \cdot 10^{-281}:\\
\;\;\;\;\mathsf{fma}\left(\sqrt[3]{x} \cdot \sqrt[3]{x}, \sqrt[3]{x}, \left(\sqrt[3]{\frac{y - z}{\sqrt[3]{a - z} \cdot \sqrt[3]{a - z}} \cdot \frac{t - x}{\sqrt[3]{a - z}}} \cdot \sqrt[3]{\frac{y - z}{\sqrt[3]{a - z} \cdot \sqrt[3]{a - z}} \cdot \frac{t - x}{\sqrt[3]{a - z}}}\right) \cdot \sqrt[3]{\frac{y - z}{\sqrt[3]{a - z} \cdot \sqrt[3]{a - z}} \cdot \frac{t - x}{\sqrt[3]{a - z}}}\right)\\
\mathbf{elif}\;x + \left(y - z\right) \cdot \frac{t - x}{a - z} \le 2.76338921123335085 \cdot 10^{-287}:\\
\;\;\;\;\mathsf{fma}\left(y, \frac{x}{z} - \frac{t}{z}, t\right)\\
\mathbf{else}:\\
\;\;\;\;x + \left(y - z\right) \cdot \frac{t - x}{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 (((x + ((y - z) * ((t - x) / (a - z)))) <= -2.729461997507675e-281)) {
VAR = fma((cbrt(x) * cbrt(x)), cbrt(x), ((cbrt((((y - z) / (cbrt((a - z)) * cbrt((a - z)))) * ((t - x) / cbrt((a - z))))) * cbrt((((y - z) / (cbrt((a - z)) * cbrt((a - z)))) * ((t - x) / cbrt((a - z)))))) * cbrt((((y - z) / (cbrt((a - z)) * cbrt((a - z)))) * ((t - x) / cbrt((a - z)))))));
} else {
double VAR_1;
if (((x + ((y - z) * ((t - x) / (a - z)))) <= 2.763389211233351e-287)) {
VAR_1 = fma(y, ((x / z) - (t / z)), t);
} else {
VAR_1 = (x + ((y - z) * ((t - x) / (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 (+ x (* (- y z) (/ (- t x) (- a z)))) < -2.729461997507675e-281Initial program 7.6
rmApplied add-cube-cbrt8.4
Applied *-un-lft-identity8.4
Applied times-frac8.4
Applied associate-*r*5.1
Simplified5.1
rmApplied add-cube-cbrt5.6
Applied fma-def5.6
rmApplied add-cube-cbrt5.7
if -2.729461997507675e-281 < (+ x (* (- y z) (/ (- t x) (- a z)))) < 2.763389211233351e-287Initial program 59.7
Simplified59.3
Taylor expanded around inf 26.6
Simplified21.2
if 2.763389211233351e-287 < (+ x (* (- y z) (/ (- t x) (- a z)))) Initial program 7.1
Final simplification8.6
herbie shell --seed 2020079 +o rules:numerics
(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)))))