\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 -1.3375298747491056 \cdot 10^{41} \lor \neg \left(x \le 8234.66593345740512\right):\\
\;\;\;\;\frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1\right) \cdot \log a\right) - b}}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{{\left(\frac{1}{a}\right)}^{1}}{e^{\mathsf{fma}\left(y, \log \left(\frac{1}{z}\right), \mathsf{fma}\left(\log \left(\frac{1}{a}\right), t, b\right)\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 <= -1.3375298747491056e+41) || !(x <= 8234.665933457405))) {
VAR = ((x * exp((((y * log(z)) + ((t - 1.0) * log(a))) - b))) / y);
} else {
VAR = ((pow((1.0 / a), 1.0) / exp(fma(y, log((1.0 / z)), fma(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 < -1.3375298747491056e+41 or 8234.665933457405 < x Initial program 0.7
if -1.3375298747491056e+41 < x < 8234.665933457405Initial program 2.8
Taylor expanded around inf 2.8
Simplified0.1
Final simplification0.4
herbie shell --seed 2020106 +o rules:numerics
(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))