double code(double x, double y, double z, double t, double a) {
return ((double) (x + ((double) (((double) (y - z)) * ((double) (((double) (t - x)) / ((double) (a - z))))))));
}
double code(double x, double y, double z, double t, double a) {
double VAR;
if (((((double) (x + ((double) (((double) (y - z)) * ((double) (((double) (t - x)) / ((double) (a - z)))))))) <= -1.8720817586345306e-286) || !(((double) (x + ((double) (((double) (y - z)) * ((double) (((double) (t - x)) / ((double) (a - z)))))))) <= 0.0))) {
VAR = ((double) (x + ((double) (((double) (((double) (y - z)) / ((double) (((double) (((double) cbrt(((double) (a - z)))) * ((double) cbrt(((double) (a - z)))))) * ((double) cbrt(((double) (((double) cbrt(((double) (a - z)))) * ((double) cbrt(((double) (a - z)))))))))))) * ((double) (((double) (t - x)) / ((double) cbrt(((double) cbrt(((double) (a - z))))))))))));
} else {
VAR = ((double) (t + ((double) (y * ((double) (((double) (x / z)) - ((double) (t / 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)))) < -1.87208175863453059e-286 or 0.0 < (+ x (* (- y z) (/ (- t x) (- a z)))) Initial program 7.5
rmApplied add-cube-cbrt8.2
Applied *-un-lft-identity8.2
Applied times-frac8.2
Applied associate-*r*5.0
Simplified5.0
rmApplied add-cube-cbrt5.0
Applied cbrt-prod5.1
Applied *-un-lft-identity5.1
Applied times-frac5.1
Applied associate-*r*4.9
Simplified4.9
if -1.87208175863453059e-286 < (+ x (* (- y z) (/ (- t x) (- a z)))) < 0.0Initial program 61.1
Taylor expanded around inf 26.7
Simplified19.9
Final simplification7.0
herbie shell --seed 2020191
(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)))))