\frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1\right) \cdot \log a\right) - b}}{y}\begin{array}{l}
\mathbf{if}\;x \le -6.12033557721357572 \cdot 10^{-38} \lor \neg \left(x \le 1.2266431991864999 \cdot 10^{-73}\right):\\
\;\;\;\;\frac{1}{y} \cdot \left(\frac{{\left(\frac{1}{a}\right)}^{1}}{e^{y \cdot \log \left(\frac{1}{z}\right) + \left(\log \left(\frac{1}{a}\right) \cdot t + b\right)}} \cdot x\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{{\left(\frac{1}{a}\right)}^{1}}{e^{y \cdot \log \left(\frac{1}{z}\right) + \left(\log \left(\frac{1}{a}\right) \cdot t + b\right)}}}{\frac{y}{x}}\\
\end{array}double code(double x, double y, double z, double t, double a, double b) {
return ((x * exp((((y * log(z)) + ((t - 1.0) * log(a))) - b))) / y);
}
double code(double x, double y, double z, double t, double a, double b) {
double VAR;
if (((x <= -6.120335577213576e-38) || !(x <= 1.2266431991864999e-73))) {
VAR = ((1.0 / y) * ((pow((1.0 / a), 1.0) / exp(((y * log((1.0 / z))) + ((log((1.0 / a)) * t) + b)))) * x));
} else {
VAR = ((pow((1.0 / a), 1.0) / exp(((y * log((1.0 / z))) + ((log((1.0 / a)) * t) + b)))) / (y / x));
}
return VAR;
}



Bits error versus x



Bits error versus y



Bits error versus z



Bits error versus t



Bits error versus a



Bits error versus b
Results
if x < -6.120335577213576e-38 or 1.2266431991864999e-73 < x Initial program 0.9
Taylor expanded around inf 0.9
Simplified10.7
rmApplied div-inv10.7
Applied *-un-lft-identity10.7
Applied *-un-lft-identity10.7
Applied *-un-lft-identity10.7
Applied times-frac10.7
Applied unpow-prod-down10.7
Applied times-frac10.7
Applied times-frac0.2
Simplified0.2
Simplified0.2
if -6.120335577213576e-38 < x < 1.2266431991864999e-73Initial program 3.0
Taylor expanded around inf 3.1
Simplified0.1
Final simplification0.2
herbie shell --seed 2020078
(FPCore (x y z t a b)
:name "Numeric.SpecFunctions:incompleteBetaWorker from math-functions-0.1.5.2"
:precision binary64
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1) (log a))) b))) y))