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 ((a <= -1.3334097012446936e-82)) {
VAR = ((double) (x + ((double) (((double) (((double) cbrt(((double) (t - x)))) / ((double) cbrt(((double) (a - z)))))) * ((double) (((double) (y - z)) * ((double) (((double) (((double) cbrt(((double) (t - x)))) / ((double) cbrt(((double) (a - z)))))) * ((double) (((double) cbrt(((double) (t - x)))) / ((double) cbrt(((double) (a - z))))))))))))));
} else {
double VAR_1;
if ((a <= 9.196191277453252e-83)) {
VAR_1 = ((double) (t + ((double) (y * ((double) (((double) (x / z)) - ((double) (t / z))))))));
} else {
VAR_1 = ((double) (x + ((double) (((double) (((double) (y - z)) / ((double) (((double) cbrt(((double) (a - z)))) * ((double) cbrt(((double) (a - z)))))))) * ((double) (((double) (t - x)) / ((double) cbrt(((double) (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.33340970124469362e-82Initial program 9.7
rmApplied add-cube-cbrt10.2
Applied add-cube-cbrt10.4
Applied times-frac10.4
Applied associate-*r*8.3
Simplified8.3
if -1.33340970124469362e-82 < a < 9.196191277453252e-83Initial program 23.3
Taylor expanded around inf 17.4
Simplified14.3
if 9.196191277453252e-83 < a Initial program 10.2
rmApplied add-cube-cbrt10.7
Applied *-un-lft-identity10.7
Applied times-frac10.7
Applied associate-*r*8.8
Simplified8.8
Final simplification10.4
herbie shell --seed 2020192
(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)))))